Authored by 李奇

容错修正

@@ -43,8 +43,10 @@ export default { @@ -43,8 +43,10 @@ export default {
43 }; 43 };
44 44
45 const setInterface = () => { 45 const setInterface = () => {
46 - window.frames['iframe'].yohoInterface = window.yohoInterface;  
47 - window.frames['iframe'].appBaseLogs = window.appBaseLogs; 46 + if (window.frames['iframe']) {
  47 + window.frames['iframe'].yohoInterface = window.yohoInterface;
  48 + window.frames['iframe'].appBaseLogs = window.appBaseLogs;
  49 + }
48 }; 50 };
49 51
50 this.$bus.$on('after-view-enter', () => { 52 this.$bus.$on('after-view-enter', () => {