Browse Source

首页跳转到更新提醒

feature
mk 1 year ago
parent
commit
832d865d0b
  1. 11
      src/views/modules/home/index.vue

11
src/views/modules/home/index.vue

@ -503,7 +503,16 @@ export default {
this.$router.push({
path: obj[item.category],
});
}
} else if(item.msgType == "sys_version_upgrade_publish"){
let { targetId } = item
this.$router.push({ path: `notice-version`, query: { version_id: targetId } });
this.$store.state.contentTabs = this.$store.state.contentTabs.map(item => {
if (item.name === "notice-version") {
return { ...item };
}
return item;
});
}
this.getNoticeData()
},

Loading…
Cancel
Save