chenrui
2025-05-19 d2a906de31b8932190fd7fb63ff716ec8fa2c771
src/permission.js
@@ -21,14 +21,6 @@
    } else {
      const value = to.query.src || to.fullPath
      const label = to.query.name || to.name
      // 检查当前要进入的页面是否在标签列表中
      const existingTag = store.getters.tagList.find(
        (tag) => tag.label === label
      )
      if (existingTag) {
        // 如果存在,删除该标签
        store.commit('DEL_TAG', existingTag)
      }
      if (
        meta.isTab !== false &&
        !validatenull(value) &&