Format code.
This commit is contained in:
parent
595e97ea9f
commit
2006fbbe9b
1 changed files with 175 additions and 175 deletions
|
|
@ -239,14 +239,14 @@ export default {
|
||||||
directives: {
|
directives: {
|
||||||
resize: {
|
resize: {
|
||||||
mounted: function (el) {
|
mounted: function (el) {
|
||||||
el.addEventListener('load', () => {
|
el.addEventListener("load", () => {
|
||||||
iframeResize({ checkOrigin: false }, el);
|
iframeResize({ checkOrigin: false }, el);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
unmounted: function (el) {
|
unmounted: function (el) {
|
||||||
el.iFrameResizer.removeListeners();
|
el.iFrameResizer.removeListeners();
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
async beforeRouteEnter(to, from, next) {
|
async beforeRouteEnter(to, from, next) {
|
||||||
// Call APIs
|
// Call APIs
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue