zhangqing 1 ano atrás
pai
commit
a1e52e5830

+ 0 - 3
src/store/modules/user.js

@@ -17,9 +17,6 @@ const formatRouter = (list) => {
         p.children = [];
         authorities.push(p);
       } else {
-        if (p.source === 2 && p.extend) {
-          p.path = p.path + '/' + p.extend;
-        }
         if (p.children?.length) {
           p.children = fn(p.children);
         } else {

+ 1 - 1
src/views/reportForms/sourceLink/index.vue

@@ -21,7 +21,7 @@
     computed: {},
     watch: {
       '$route'(to, from) {
-        if (to.path) {
+        if (to.path.includes('reportForms/sourceLink')) {
           this.getJmPrintBrowse();  // 重新加载数据
         }
       }