[Vue warn]: Invalid prop: type check failed for prop "value". Expected String, Number, got Array 解决方法

问题:

[Vue warn]: Invalid prop: type check failed for prop "value". Expected String, Number, got Array   解决方法

解决方法:

把下面代码注释了就没有报了

 // this.$nextTick(() => {
          //   this.$refs["dataForm"].resetFields();
          // });
 //用户
        .then(() => {
          this.$http({
            url: this.$http.adornUrl("/sys/user/listOpretorXW"),
            method: "get",
            params: this.$http.adornParams(),
          }).then(({ data }) => {
            this.users = data.page.list;
          });
        })
        .then(() => {
          this.visible = true;
          // this.$nextTick(() => {
          //   this.$refs["dataForm"].resetFields();
          // });
        })

  

原文地址:https://www.cnblogs.com/dayspring/p/13974247.html