zoukankan      html  css  js  c++  java
  • [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();
              // });
            })
    

      

  • 相关阅读:
    排序
    wine-qq 安装
    逆元模板
    最长上升子序列
    SGU[115] Calendar
    SGU[123] The sum
    SGU[105] Div 3
    SGU[102] Coprimes
    SGU[100] A+B
    poj-1325-Machine Schedule
  • 原文地址:https://www.cnblogs.com/dayspring/p/13974247.html
Copyright © 2011-2022 走看看