Procházet zdrojové kódy

Merge branch 'master' of http://git.cc-lotus.info/studio_vue3/common

YY před 2 roky
rodič
revize
5975c53356

+ 1 - 0
.gitignore

@@ -26,3 +26,4 @@ coverage
 *.njsproj
 *.sln
 *.sw?
+.history

+ 3 - 0
.history/src/stores/user/mutations_20230317143857.ts

@@ -0,0 +1,3 @@
+export const setUser = (state: { user: { role_type: string; lab_id: string } }, payload: { role_type: string; lab_id: string }) => {
+  state.user = payload;
+};

+ 5 - 0
.history/src/stores/user/mutations_20230317150756.ts

@@ -0,0 +1,5 @@
+export const setUser = (state: { user: { role_type: string; lab_id: string } }, payload: { role_type: string; lab_id: string }) => {
+  console.log(payload);
+
+  // state.user = payload;
+};

+ 4 - 0
.history/src/stores/user/mutations_20230317150757.ts

@@ -0,0 +1,4 @@
+export const setUser = (state: { user: { role_type: string; lab_id: string } }, payload: { role_type: string; lab_id: string }) => {
+  console.log(payload);
+  // state.user = payload;
+};

+ 3 - 0
.history/src/stores/user/mutations_20230317150805.ts

@@ -0,0 +1,3 @@
+export const setUser = (state: { user: { role_type: string; lab_id: string } }, payload: { role_type: string; lab_id: string }) => {
+  state.user = payload;
+};