bug
zhangzeli
2022-02-09 6622c8891d03e71d3dc75c2de97308ca71552786
src/views/your/area-manage/areaManage.vue
@@ -68,6 +68,7 @@
        </FormItem>
        <FormItem label="配送员" prop="userId">
          <Select v-model="areaForm.userId" filterable>
            <Option :value="0" :key="0" selected>请选择</Option>
            <Option v-for="item in userList" :value="item.id">{{ item.nickname }}</Option>
          </Select>
        </FormItem>
@@ -761,6 +762,12 @@
      this.roleModalVisible = false;
    },
    submitArea() {
      if(this.areaForm.userId==undefined){
        this.areaForm.userId=0;
      }
      if(this.areaForm.description==undefined){
        this.areaForm.description="";
      }
      this.$refs.areaForm.validate((valid) => {
        if (valid) {
          if (this.modalType == 0) {