gaoluyang
10 天以前 752ea7df5717c3d54887c85d84a541efb53fa4c7
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) {