方法1:使用this.$nextTick()方法
this.$nextTick(()=>{
this.$refs["dataForm"].resetFields();
})
方法2:检查ref、prop、v-model的内容是否一致
方法3:实在不行就将v-if改为v-show试试
方法1:使用this.$nextTick()方法
this.$nextTick(()=>{
this.$refs["dataForm"].resetFields();
})
方法2:检查ref、prop、v-model的内容是否一致
方法3:实在不行就将v-if改为v-show试试