修复货币列表

This commit is contained in:
pushuo 2022-08-12 17:57:04 +08:00
parent 0e2ef8a96e
commit c733c82681
1 changed files with 3 additions and 3 deletions

View File

@ -76,7 +76,7 @@
<el-form-item class="mt-5">
<el-button type="primary" @click="addFormSubmit('form')">保存</el-button>
<el-button @click="closeCustomersDialog('form')">取消</el-button>
<el-button @click="dialog.show = false">取消</el-button>
</el-form-item>
</el-form>
</el-dialog>
@ -124,7 +124,7 @@
this.dialog.index = index
if (type == 'edit') {
this.dialog.form = this.currencies[index]
this.dialog.form = JSON.parse(JSON.stringify(this.currencies[index]))
}
},
@ -169,7 +169,7 @@
closeCustomersDialog(form) {
this.$refs[form].resetFields();
Object.keys(this.dialog.form).forEach(key => this.dialog.form[key] = '')
this.dialog.show = false
// this.dialog.show = false
}
}
})