feat: 消息订阅增加邮件渠道

This commit is contained in:
fit2cloud-chenyw
2021-11-15 16:23:24 +08:00
parent 75a22aabdb
commit 5ce64f0d09
19 changed files with 415 additions and 215 deletions

View File

@@ -65,9 +65,15 @@ export default {
},
mounted() {
},
beforeCreate() {
// this.loadChannelData()
channelList().then(res => {
this.msg_channels = res.data
})
},
created() {
this.loadChannelData()
this.loadSettingData(this.loadTreeData)
},
@@ -129,7 +135,7 @@ export default {
settingList().then(res => {
const lists = res.data
lists.forEach(item => {
const key = item.typeId
const key = item.typeId + ''
if (!Object.keys(temp_setting_data).includes(key)) {
temp_setting_data[key] = []
}