|
@@ -97,6 +97,8 @@ export default {
|
|
isShow (newValue, oldValue) {
|
|
isShow (newValue, oldValue) {
|
|
if (!newValue) {
|
|
if (!newValue) {
|
|
this.$emit('close')
|
|
this.$emit('close')
|
|
|
|
+ this.form.templateName = ''
|
|
|
|
+ this.form.templateSn = undefined
|
|
this.$refs.ruleForm.resetFields()
|
|
this.$refs.ruleForm.resetFields()
|
|
} else {
|
|
} else {
|
|
const _this = this
|
|
const _this = this
|