mirror of
https://gitee.com/y_project/RuoYi-Vue.git
synced 2026-01-03 18:35:28 +08:00
remove all semicolons
This commit is contained in:
@ -24,24 +24,24 @@ export default {
|
||||
return {
|
||||
loading: false,
|
||||
height: document.documentElement.clientHeight - 94.5 + "px;"
|
||||
};
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
var _this = this;
|
||||
const iframeId = ("#" + this.iframeId).replace(/\//g, "\\/");
|
||||
const iframe = document.querySelector(iframeId);
|
||||
var _this = this
|
||||
const iframeId = ("#" + this.iframeId).replace(/\//g, "\\/")
|
||||
const iframe = document.querySelector(iframeId)
|
||||
// iframe页面loading控制
|
||||
if (iframe.attachEvent) {
|
||||
this.loading = true;
|
||||
this.loading = true
|
||||
iframe.attachEvent("onload", function () {
|
||||
_this.loading = false;
|
||||
});
|
||||
_this.loading = false
|
||||
})
|
||||
} else {
|
||||
this.loading = true;
|
||||
this.loading = true
|
||||
iframe.onload = function () {
|
||||
_this.loading = false;
|
||||
};
|
||||
_this.loading = false
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user