|
|
@@ -23,7 +23,7 @@ const formatRouter = (list) => {
|
|
|
curPath = p.path;
|
|
|
}
|
|
|
p.link = p.component;
|
|
|
- p.component = 'http://aiot.zoomwin.com.cn:51001/'+curPath+p.component;
|
|
|
+ p.component = '';
|
|
|
if (p.menuType === 2) {
|
|
|
// p.children = [];
|
|
|
authorities.push(p);
|
|
|
@@ -141,7 +141,6 @@ export default {
|
|
|
//动态路由
|
|
|
async fetchUserInfo({ commit, state }) {
|
|
|
let currentUser = getCurrentUser()
|
|
|
- // alert(1)
|
|
|
|
|
|
const result = await getResourcesTree({
|
|
|
groupId: currentUser.currentGroupId,
|