wang-hao-jie
2022-01-05 ac5603d127ea37513055a2ef87d960902c3993b8
src/views/your/area-manage/areaManage.vue
@@ -709,7 +709,7 @@
      });
    },
    getAllUser(){
      getDriver(this.type).then((res)=>{
      getDriver({type:1}).then((res)=>{
        if (res.success){
          this.userList=res.result;
        }
@@ -775,16 +775,19 @@
                this.$Message.success("操作成功");
                this.getDataList();
                this.roleModalVisible = false;
                this.areaForm={};
              }
            });
          } else {
            this.submitLoading = true;
            this.$delete(this.areaForm,'children')
            addArea(this.areaForm).then((res) => {
              this.submitLoading = false;
              if (res.success) {
                this.$Message.success("操作成功");
                this.getDataList();
                this.roleModalVisible = false;
                this.areaForm={};
              }
            });
          }