mirror of
https://github.com/dataease/dataease.git
synced 2026-05-23 22:08:34 +08:00
feat: 消息订阅增加邮件渠道
This commit is contained in:
@@ -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] = []
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user