spring
4 天以前 16072eb229934f8fc369e32e4a457805c0392c91
src/plugins/tab.js
@@ -59,8 +59,10 @@
    return useTagsViewStore().delOthersViews(obj || router.currentRoute.value)
  },
  // 打开tab页签
  openPage(url) {
    return router.push(url)
  openPage(title, url, params) {
    const obj = { path: url, meta: { title: title } }
    useTagsViewStore().addView(obj)
    return router.push({ path: url, query: params })
  },
  // 修改tab页签
  updatePage(obj) {