activeMenu() { const route = this.$route; const { meta, path } = route; // if set path, the sidebar will highlight the path you set if (meta.activeMenu) { return meta.activeMenu; } if (path == "/screen/screenIn") { let routeUrl = this.$router.resolve({ path, }); //新窗口打开页面 window.open(routeUrl.href, "_blank"); //原窗口保持原来的页面 this.$router.go(-1); return false; } return path; },
设置允许弹窗后
无限循环弹窗求大佬指导 效果只想弹一次就行