element-ui 表单验证数字类型提示 xx is not a string

在做编辑行政区划的区划时,一打开编辑界面表单验证会报“code is not a string”

解决办法如下,code本身是number类型,在表单验证里面改为number类型

发布了45 篇原创文章 · 获赞 15 · 访问量 13万+

猜你喜欢

转载自blog.csdn.net/qq_39364032/article/details/103614315