uniapp微信小程序表单自定义校验失效解决

在原<uni -forms>标签中,删除:rules = "rules"

在onReady中

onReady() {
			this.$refs.form.setRules(this.rules);
		},

猜你喜欢

转载自blog.csdn.net/qq_45020145/article/details/129989753