From 9d07a202adaffc970506a9fb2a3bec9589ff51c4 Mon Sep 17 00:00:00 2001
From: 819527061@qq.com <123456>
Date: 星期四, 04 一月 2024 16:35:29 +0800
Subject: [PATCH] 送达回证docx修改
---
src/store/mutations.js | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/store/mutations.js b/src/store/mutations.js
index a5c6d1b..e8fc14e 100644
--- a/src/store/mutations.js
+++ b/src/store/mutations.js
@@ -9,17 +9,17 @@
},
SET_ROLELISt:(state,payload)=>{
console.log('瑙﹀彂')
- //澶勭悊宸︿晶鑿滃崟鏍忛�昏緫
+ //澶勭悊宸︿晶鑿滃崟鏍忛�昏緫
// type 2 : all admin
// type 0 : 娉婅溅 id:2
- // type 1 : 鎵ф硶 id:3
+ // type 1 : 鎵ф硶 id:3
// state.roles // 鐢ㄦ埛鏉冮檺瀛楁
// state.resultAsyncRoutes // 鐢ㄦ埛鏉冮檺璺敱
switch (state.roles) {
case 0:
- state.resultAsyncRoutes = state.items.filter((item)=>item.id == 2);
+ state.resultAsyncRoutes = state.items2.filter((item)=>item.id == 2);
localStorage.setItem('userRouters',JSON.stringify(state.resultAsyncRoutes));
- console.log(state.resultAsyncRoutes,state.roles,'0娉婅溅')
+ console.log(state.resultAsyncRoutes,state.roles,'0娉婅溅')
break;
case 1:
state.resultAsyncRoutes =state.items.filter((item)=>item.id == 3);
@@ -31,7 +31,7 @@
localStorage.setItem('userRouters',JSON.stringify(state.resultAsyncRoutes));
console.log(state.resultAsyncRoutes,state.roles,' 鍏ㄩ儴')// 涓嶇敤淇敼
break;
-
+
default:
break;
}
@@ -43,4 +43,4 @@
}
- }
\ No newline at end of file
+ }
--
Gitblit v1.9.1