提交 0e70717f 编写于 作者: tony001's avatar tony001

调整

上级 a3c0b364
...@@ -259,7 +259,7 @@ export default class EditViewEngine extends ViewEngine { ...@@ -259,7 +259,7 @@ export default class EditViewEngine extends ViewEngine {
this.view.$route.meta.info = info; this.view.$route.meta.info = info;
} }
this.view.model.srfTitle = `${this.view.$t(viewdata.srfTitle)}-${viewdata.dataInfo}`; this.view.model.srfTitle = `${this.view.$t(viewdata.srfTitle)}-${viewdata.dataInfo}`;
this.view.initNavData(); this.view.initNavDataWithRoute();
} }
} }
......
...@@ -373,7 +373,9 @@ export default class MDViewEngine extends ViewEngine { ...@@ -373,7 +373,9 @@ export default class MDViewEngine extends ViewEngine {
cacheArray.push({srfkey:item.srfkey,srfmajortext:item.srfmajortext}); cacheArray.push({srfkey:item.srfkey,srfmajortext:item.srfmajortext});
}) })
} }
this.view.initNavData(cacheArray); this.view.viewCacheData = cacheArray;
this.view.initNavDataWithRoute(cacheArray);
this.view.initNavDataWithTab(cacheArray);
if (this.view) { if (this.view) {
this.view.$emit('viewload', args); this.view.$emit('viewload', args);
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册