Compare commits

...

2 Commits

Author SHA1 Message Date
“huailei000”
4ca193969b perf: 优化账号模版-账号推送参数显示不准确问题 2023-10-19 15:21:10 +08:00
feng
d7cb5ab51c fix: 系统设置 邮件设置 不能设置后缀 2023-09-27 13:17:20 +05:00
2 changed files with 4 additions and 9 deletions

View File

@@ -120,7 +120,6 @@ export default {
},
async mounted() {
await this.getUrlMeta()
await this.handleFieldChange()
},
methods: {
async getUrlMeta() {

View File

@@ -99,18 +99,14 @@ export default {
}
],
cleanFormValue(data) {
const submitValue = {}
submitValue['EMAIL_RECIPIENT'] = data['EMAIL_RECIPIENT']
submitValue['EMAIL_FROM'] = data['EMAIL_FROM']
submitValue['EMAIL_SUBJECT_PREFIX'] = data['EMAIL_SUBJECT_PREFIX']
Object.keys(submitValue).forEach(
Object.keys(data).forEach(
function(key) {
if (submitValue[key] === null) {
delete submitValue[key]
if (data[key] === null) {
delete data[key]
}
}
)
return submitValue
return data
},
submitMethod() {
return 'patch'