fix(消息设置):消息设置修改
This commit is contained in:
parent
10b258a9b0
commit
611fc1202a
|
@ -500,6 +500,7 @@ export default {
|
|||
},
|
||||
initForm() {
|
||||
this.result = this.$get('/notice/search/message', response => {
|
||||
|
||||
this.form = response.data
|
||||
})
|
||||
},
|
||||
|
@ -568,7 +569,9 @@ export default {
|
|||
handleAddTask(index, data) {
|
||||
let list = []
|
||||
if (data.event && data.userIds.length > 0 && data.type) {
|
||||
console.log(data.type)
|
||||
if (data.type === 'NAIL_ROBOT' || data.type === 'NAIL_ROBOT') {
|
||||
if (!data.webhook) {
|
||||
this.$warning(this.$t('organization.message.message_webhook'));
|
||||
} else {
|
||||
data.isSet = false
|
||||
|
@ -580,6 +583,7 @@ export default {
|
|||
this.$success(this.$t('commons.save_success'));
|
||||
})
|
||||
}
|
||||
}
|
||||
} else {
|
||||
this.$warning(this.$t('organization.message.message'));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue