如果弹窗时组件形式,则在父组件的点击事件里面加
addTheTop() {
this.$refs.form.$refs.toolForm && this.$refs.form.$refs.toolForm.resetFields();
}
如果弹窗时组件形式,则在父组件的点击事件里面加
addTheTop() {
this.$refs.form.$refs.toolForm && this.$refs.form.$refs.toolForm.resetFields();
}