ruoyi-ui/src/plugins/tab.js
@@ -20,8 +20,6 @@ path: '/redirect' + path }) }) }, // 关闭当前tab页签,打开新页签 closeOpenPage(obj) { @@ -56,7 +54,7 @@ return store.dispatch('tagsView/delOthersViews', obj || router.currentRoute); }, // 添加tab页签 addPage(title, url) { openPage(title, url) { var obj = { path: url, meta: { title: title } } store.dispatch('tagsView/addView', obj); return router.push(url);