Why can't vue get the updated data?

1. Go backstage to get the data, you can get it.
2. After submitting the data (updating the form), confirm that the form data has been submitted. In the acquisition of data, can not get the modified data, this is why?

this is the form:

<el-dialog title="" :visible.sync="personalDetailVisible">
  <el-form :model="personalForm" :rules="personalFormRules" ref="ruleForm2">
    <el-form-item label="" prop="personUserName">
      <el-input v-model="personalForm.personUserName" :disabled="true"></el-input>
    </el-form-item>

    <el-form-item label="QQ" prop="qq">
      <el-input placeholder="QQ" v-model="personalForm.qq"></el-input>
    </el-form-item>

    <el-form-item label="" prop="weixin">
      <el-input placeholder="" v-model="personalForm.weixin"></el-input>
    </el-form-item>

    <el-form-item label="" prop="cellphone">
      <el-input placeholder="" v-model="personalForm.cellphone"></el-input>
    </el-form-item>

    <el-form-item label="" prop="email">
      <el-input placeholder="" v-model="personalForm.email"></el-input>
    </el-form-item>

    <el-form-item label="" prop="phone">
      <el-input placeholder="" v-model="personalForm.phone"></el-input>
    </el-form-item>

    <el-form-item label="" prop="department">
      <el-input placeholder="" v-model="personalForm.department"></el-input>
    </el-form-item>

    <el-form-item label="" prop="role">
      <el-input v-model="personalForm.role" :disabled="true"></el-input>
    </el-form-item>
    <el-button type="primary" @click="savePerDetail("ruleForm2")"></el-button>
    <el-button type="primary" @click="changePerDetGoBack"></el-button>
  </el-form>
</el-dialog>

this is the JS: for getting data

  getuserdata() {
    let _this = this;
    this.$axios({
      method: "post",
      url: "/api/authController/getMenus",
      data: qs.stringify({
        token: this.token
      })
    }).then((response) => {
      console.log(response)
      let res = response.data.message.user;
      _this.username = res.username;
      _this.gender = res.gender;
      _this.qq = res.qq;
      _this.dianhua = res.phone;
      _this.wechat = res.wechat;
      _this.phone = res.mobile;
      _this.email = res.email;
      _this.realname = res.realname;
      _this.position = res.position;
      _this.department = res.department;
      if (res.roleCode === "user") {
        _this.roleCode = ""
      }
      if (res.roleCode === "administartor") {
        _this.roleCode = ""
      }
    })
  },
  
  JS:
        // 
  savePerDetail(formName) {
      let _this = this;
      this.$refs[formName].validate((valid)=>{
        if (valid) {
          this.$axios({
            method: "post",
            url:"/api/userController/update",
            data: qs.stringify({
              token: this.token,
              id: this.userId,
              username: this.username,
              qq: this.personalForm.qq,
              wechat: this.personalForm.wexin,
              mobile: this.personalForm.cellphone,
              email: this.personalForm.email,
              phone: this.personalForm.phone,
              department: this.personalForm.department,
            })
          }).then((res)=>{
            console.log(res)
            if (res.data.code === 200) {
              // this.getuserdata();
            }
          })
        }
      })
  },
  
    
Mar.28,2021

1. The description of your problem should be that you re-query the data after you submit it to the backend, and you still get the old data
2. So make sure whether the data you get is new or old, whether you see it on the page or in the browser's devtool
3. If what you see in devtool is old, then check to see if there is something wrong with the parameters you passed. If you have no problem, go to the backend
4. If what devtool sees is new, then there is something wrong with your code, and the page has nothing to do with the data Synchronize

.
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-1bf24fd-31df0.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-1bf24fd-31df0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?