|
@@ -125,12 +125,12 @@ router.beforeEach((to, from, next) => {
|
|
|
}
|
|
|
store.commit('setPermissionList', newArs);
|
|
|
window.sessionStorage.setItem('czc_per', JSON.stringify(newArs));
|
|
|
- let datas = data[0].children;
|
|
|
- window.sessionStorage.setItem('SC_listMuen', JSON.stringify(datas));
|
|
|
- window.sessionStorage.setItem('setThisDetai', JSON.stringify(data[0]));
|
|
|
- store.commit('setThisDetai', data[0]);
|
|
|
- funcRouter(newAr, datas, router);
|
|
|
- next({ ...to, replace: true });
|
|
|
+ // let datas = data[0].children;
|
|
|
+ // window.sessionStorage.setItem('SC_listMuen', JSON.stringify(datas));
|
|
|
+ // window.sessionStorage.setItem('setThisDetai', JSON.stringify(data[0]));
|
|
|
+ // store.commit('setThisDetai', data[0]);
|
|
|
+ // funcRouter(newAr, datas, router);
|
|
|
+ // next({ ...to, replace: true });
|
|
|
} else {
|
|
|
data;
|
|
|
this.$message.error(msg);
|