qymljy 2 years ago
parent
commit
a6fe38f6cf

+ 2 - 0
src/Form/publicCustomer/add.vue

@@ -176,6 +176,8 @@ export default {
           this.$emit('onSuccess')
           this.$refs['form'].resetFields();
           this.dialogFormVisible = false
+          this.$store.dispatch('changeDetailDrawer',false)
+          /*this.dispatch('changeDetailDrawer',true)*/
           this.$router.replace({path:'/PublicCustomerDetail',query:{id:res.data.sa_customersid}})
         })
       })

+ 1 - 0
src/components/normal-basic-layout/drawerDetail/index.vue

@@ -51,6 +51,7 @@ export default {
   },
   watch:{
     closeDrawerTemp (val) {
+      console.log(val,'drawer')
       val?this.drawer = false:true
     }
   }