|
@@ -350,6 +350,7 @@ export default {
|
|
// 取消
|
|
// 取消
|
|
handleCommonCancel () {
|
|
handleCommonCancel () {
|
|
this.$emit('cancel')
|
|
this.$emit('cancel')
|
|
|
|
+ this.$refs.ruleForm.resetFields()
|
|
}
|
|
}
|
|
},
|
|
},
|
|
watch: {
|
|
watch: {
|
|
@@ -360,7 +361,7 @@ export default {
|
|
// 重定义的弹框状态
|
|
// 重定义的弹框状态
|
|
isShow (newValue, oldValue) {
|
|
isShow (newValue, oldValue) {
|
|
if (!newValue) {
|
|
if (!newValue) {
|
|
- this.$emit('cancel')
|
|
|
|
|
|
+ this.handleCommonCancel()
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|