疯狂的狮子Li
2022-12-14 9ed60f22de26f724e68f89d30f2db9eef2c5d652
ruoyi-ui/src/plugins/tab.js
@@ -55,10 +55,10 @@
    return store.dispatch('tagsView/delOthersViews', obj || router.currentRoute);
  },
  // 添加tab页签
  openPage(title, url) {
  openPage(title, url, params) {
    var obj = { path: url, meta: { title: title } }
    store.dispatch('tagsView/addView', obj);
    return router.push(url);
    return router.push({ path: url, query: params });
  },
  // 修改tab页签
  updatePage(obj) {