gaoluyang
4 天以前 8bb204ea6b9c73727ba50e9697a6940b53e5963d
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) {