...
|
...
|
@@ -41,12 +41,21 @@ export default { |
|
|
}
|
|
|
}
|
|
|
};
|
|
|
window.yohoInterface = window.yohoInterface;
|
|
|
|
|
|
const setInterface = () => {
|
|
|
window.frames['iframe'].yohoInterface = window.yohoInterface;
|
|
|
window.frames['iframe'].appBaseLogs = window.appBaseLogs;
|
|
|
};
|
|
|
|
|
|
this.$bus.$on('after-view-enter', () => {
|
|
|
this.showIframe = true;
|
|
|
this.$nextTick(() => setInterface());
|
|
|
|
|
|
});
|
|
|
if (this.yoho.env.fs) {
|
|
|
this.showIframe = true;
|
|
|
this.$nextTick(() => setInterface());
|
|
|
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
...
|
...
|
|