<Form ref="formRef"></Form>
iview清除form所有表单校验:
this.$refs.formRef.resetFields() 这个方法同时也会清空整个表单数据
iview清除某个表单项校验:
this.$refs.formRef.fields.forEach((e) => {
if (e.prop == 'zStationId') {
e.resetField()
}
})