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