邮箱管理发件邮箱配置清除默认值
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
19c2c4eecb
commit
d9f10055aa
|
@ -122,11 +122,11 @@ export default {
|
||||||
loading: false,
|
loading: false,
|
||||||
isEdit: true,
|
isEdit: true,
|
||||||
form: {
|
form: {
|
||||||
EmailFromEmail: 'test@extimaging.com',
|
EmailFromEmail: '',
|
||||||
EmailFromName: 'Test_IRC',
|
EmailFromName: '',
|
||||||
EmailAuthorizationCode: 'SHzyyl2021',
|
EmailAuthorizationCode: '',
|
||||||
EmailSMTPServerAddress: 'smtp.qiye.aliyun.com',
|
EmailSMTPServerAddress: '',
|
||||||
EmailSMTPServerPort: 465,
|
EmailSMTPServerPort: null,
|
||||||
IsConfigureEmail: true
|
IsConfigureEmail: true
|
||||||
},
|
},
|
||||||
rules: {
|
rules: {
|
||||||
|
@ -135,12 +135,25 @@ export default {
|
||||||
EmailAuthorizationCode: [{ required: true, message: this.$t('common:ruleMessage:specify') }],
|
EmailAuthorizationCode: [{ required: true, message: this.$t('common:ruleMessage:specify') }],
|
||||||
EmailSMTPServerAddress: [{ required: true, message: this.$t('common:ruleMessage:specify') }],
|
EmailSMTPServerAddress: [{ required: true, message: this.$t('common:ruleMessage:specify') }],
|
||||||
EmailSMTPServerPort: [{ required: true, message: this.$t('common:ruleMessage:select') }]
|
EmailSMTPServerPort: [{ required: true, message: this.$t('common:ruleMessage:select') }]
|
||||||
}
|
},
|
||||||
|
NODE_ENV: process.env.NODE_ENV,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
// watch: {
|
||||||
activeTab(v) {
|
// activeTab(v) {
|
||||||
console.log(v)
|
// console.log(v)
|
||||||
|
// }
|
||||||
|
// },
|
||||||
|
created() {
|
||||||
|
if(this.NODE_ENV === 'production'){
|
||||||
|
this.form= {
|
||||||
|
EmailFromEmail: 'test@extimaging.com',
|
||||||
|
EmailFromName: 'Test_IRC',
|
||||||
|
EmailAuthorizationCode: 'SHzyyl2021',
|
||||||
|
EmailSMTPServerAddress: 'smtp.qiye.aliyun.com',
|
||||||
|
EmailSMTPServerPort: 465,
|
||||||
|
IsConfigureEmail: true
|
||||||
|
};
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
|
Loading…
Reference in New Issue