Преглед изворни кода

Merge remote-tracking branch 'origin/dev' into dev

yangc пре 7 година
родитељ
комит
def72db463

+ 7 - 2
components/mobile/staffManagement/StaffAdd.vue

@@ -108,14 +108,12 @@
     },
     computed: {
       userInfo () {
-        console.log(this.$store.state.option.user.data)
         return this.$store.state.option.user.data
       }
     },
     mounted () {
       this.$nextTick(() => {
         window.addEventListener('click', () => {
-          console.log(1)
           this.showChooseSex = false
         }, false)
       })
@@ -242,6 +240,13 @@
               this.reBindError = false
               this.illegalError = false
             }
+          }).catch (err =>{
+            if (err) {
+              this.showSearchUser = false
+              this.bindUser = false
+              this.reBindError = false
+              this.illegalError = false
+            }
           })
         }
       },

+ 1 - 1
components/mobile/staffManagement/StaffList.vue

@@ -374,7 +374,7 @@
             this.onRemind('操作成功!')
             this.auditSearch = ''
             this.page = 1
-            this.auditRecord()
+            this.searchAudit()
           })
       }
     }