gaoluyang
3 天以前 65b213e7daa1d03746e5ce9a333890b1480e6113
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) {