695593266@qq.com 9 сар өмнө
parent
commit
8d2a737bea

+ 1 - 1
src/views/produce/index.vue

@@ -600,7 +600,7 @@
 
         // console.log(this.$store.state.user, 'this.$store.state.user.allInfo');
         if (localStorage.getItem('singleUserInfo') == '1') {
-          singleListTask(this.$store.state.user.allInfo).then((res) => {
+          singleListTask(localStorage.getItem('chooseUserInfo')).then((res) => {
             res.map((v) => {
               v.newName = `${v.workCenterName}-${v.name}`;
             });