RuoYi
2021-12-01 6bfae2652f63d1929cd0987655752214b84d2ec2
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);