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

首页导航模式 --- fix8

上级 449114ec
...@@ -485,7 +485,7 @@ import NavDataService from '@/service/app/navdata-service'; ...@@ -485,7 +485,7 @@ import NavDataService from '@/service/app/navdata-service';
public click(item: any) { public click(item: any) {
if (item) { if (item) {
if(Object.is(this.navModel,"route")){ if(Object.is(this.navModel,"route")){
let navDataService = NavDataService.getInstance({store:this.$store}); let navDataService = NavDataService.getInstance(this.$store);
navDataService.removeNavData(this.viewtag); navDataService.removeNavData(this.viewtag);
} }
switch (item.appfunctag) { switch (item.appfunctag) {
......
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
* @type {*} * @type {*}
* @memberof ${srfclassname('${view.name}')}Base * @memberof ${srfclassname('${view.name}')}Base
*/ */
public navDataService = NavDataService.getInstance({store:this.$store}); public navDataService = NavDataService.getInstance(this.$store);
/** /**
* 应用上下文 * 应用上下文
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册