fuzui
2021-12-16 43d76e599091dc6b79b51f89c79514b50e33ea35
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);