AVUE "productCount is not a string"

原文:
https://blog.****.net/qq_37000055/article/details/100926323
https://segmentfault.com/q/1010000009272833

代码是生成的,遇到保存int类型的时候就会js警告

AVUE "productCount is not a string"

修改前

{
  label: "产品数量",
  prop: "productCount",
  rules: [{
	required: false,
	message: "请输入产品数量",
	trigger: "blur"
  }]
},

修改后

{
  label: "产品数量",
  prop: "productCount",
  rules: [{
	type: "number",
	required: false,
	message: "请输入产品数量",
	trigger: "blur"
  }]
},

AVUE "productCount is not a string"

上一篇:java – 未配置嵌入式jetty webserver JSP支持


下一篇:java – ResourceHandler停止托管文件与jetty 9 – 404找不到错误(与jetty 8一起正常工作)