About the Basics of vue element from Verification

<el-dialog title="" :visible.sync="dialogShow" width="20%" >
  <el-form label-position="right" label-width="100px" :model="deptInfo" :rules="rules"     ref="deptInfo"  >

    <el-form-item label=":" prop="name">
      <el-input placeholder="" v-model="deptInfo.DeptName"></el-input>
    </el-form-item>

    <el-form-item label=":">
      <el-input  type="textarea" v-model="deptInfo.DeptRemark"></el-input>
    </el-form-item>
  </el-form>

  <span slot="footer" class="dialog-footer">
    <el-button type="primary" @click="create("deptInfo")"> </el-button>
    <el-button @click="dialogShow = false"> </el-button>
  </span>
</el-dialog>

rules: {
      name: [
        { required: true, message: "", trigger: "blur" },
      ],
},

this is the layout code and the rules code in data, but when I fill in the data on the page, the button always prompts "Please enter the department name", and the console reports async-validator: ["name is required"]

.

clipboard.png

the same updata box can be used normally. I don"t know what"s wrong. I haven"t found it for a long time. Thank you, boss

.
May.13,2021

<el-form-item label=":" prop="name">
      <el-input placeholder="" v-model="deptInfo.DeptName"></el-input>
    </el-form-item>

the above field is wrong. prop should be consistent with the field in the input box and be changed to DeptName

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e4463e-650c7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e4463e-650c7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?