fix: --bug=1006003 --user=刘瑞斌 【系统设置-消息设置】站内通知方式webhook可输入,建议修改为与邮箱方式一致(邮箱此处不可选中) https://www.tapd.cn/55049933/s/1048643

This commit is contained in:
Captain.B 2021-09-18 18:12:16 +08:00 committed by 刘瑞斌
parent eba9393a6d
commit 8712335957
13 changed files with 26 additions and 26 deletions

View File

@ -213,14 +213,14 @@ export default {
},
handleEdit(index, data) {
data.isReadOnly = true;
if (data.type === 'EMAIL') {
if (data.type === 'EMAIL' || data.type === 'IN_SITE') {
data.isReadOnly = !data.isReadOnly;
data.webhook = '';
}
},
handleEditTask(index, data) {
data.isSet = true;
if (data.type === 'EMAIL') {
if (data.type === 'EMAIL' || data.type === 'IN_SITE') {
data.isReadOnly = false;
data.webhook = '';
} else {

View File

@ -216,14 +216,14 @@ export default {
},
handleEdit(index, data) {
data.isReadOnly = true;
if (data.type === 'EMAIL') {
if (data.type === 'EMAIL' || data.type === 'IN_SITE') {
data.isReadOnly = !data.isReadOnly;
data.webhook = '';
}
},
handleEditTask(index, data) {
data.isSet = true;
if (data.type === 'EMAIL') {
if (data.type === 'EMAIL' || data.type === 'IN_SITE') {
data.isReadOnly = false;
data.webhook = '';
} else {

View File

@ -212,7 +212,7 @@ export default {
},
handleEdit(index, data) {
data.isReadOnly = true;
if (data.type === 'EMAIL') {
if (data.type === 'EMAIL' || data.type === 'IN_SITE') {
data.isReadOnly = !data.isReadOnly;
data.webhook = '';
}
@ -220,7 +220,7 @@ export default {
handleEditTask(index, data) {
data.isSet = true;
if (data.type === 'EMAIL') {
if (data.type === 'EMAIL' || data.type === 'IN_SITE') {
data.isReadOnly = false;
data.webhook = '';
} else {

View File

@ -209,14 +209,14 @@ export default {
},
handleEdit(index, data) {
data.isReadOnly = true;
if (data.type === 'EMAIL') {
if (data.type === 'EMAIL' || data.type === 'IN_SITE') {
data.isReadOnly = !data.isReadOnly;
data.webhook = '';
}
},
handleEditTask(index, data) {
data.isSet = true;
if (data.type === 'EMAIL') {
if (data.type === 'EMAIL' || data.type === 'IN_SITE') {
data.isReadOnly = false;
data.webhook = '';
} else {

View File

@ -234,7 +234,7 @@ export default {
},
handleEdit(index, data) {
data.isReadOnly = true;
if (data.type === 'EMAIL') {
if (data.type === 'EMAIL' || data.type === 'IN_SITE') {
data.isReadOnly = !data.isReadOnly;
data.webhook = '';
}
@ -268,7 +268,7 @@ export default {
},
handleEditTask(index, data) {
data.isSet = true;
if (data.type === 'EMAIL') {
if (data.type === 'EMAIL' || data.type === 'IN_SITE') {
data.isReadOnly = false;
data.webhook = '';
} else {

View File

@ -209,14 +209,14 @@ export default {
},
handleEdit(index, data) {
data.isReadOnly = true;
if (data.type === 'EMAIL') {
if (data.type === 'EMAIL' || data.type === 'IN_SITE') {
data.isReadOnly = !data.isReadOnly;
data.webhook = '';
}
},
handleEditTask(index, data) {
data.isSet = true;
if (data.type === 'EMAIL') {
if (data.type === 'EMAIL' || data.type === 'IN_SITE') {
data.isReadOnly = false;
data.webhook = '';
} else {

View File

@ -212,14 +212,14 @@ export default {
},
handleEdit(index, data) {
data.isReadOnly = true;
if (data.type === 'EMAIL') {
if (data.type === 'EMAIL' || data.type === 'IN_SITE') {
data.isReadOnly = !data.isReadOnly;
data.webhook = '';
}
},
handleEditTask(index, data) {
data.isSet = true;
if (data.type === 'EMAIL') {
if (data.type === 'EMAIL' || data.type === 'IN_SITE') {
data.isReadOnly = false;
data.webhook = '';
} else {

View File

@ -211,14 +211,14 @@ export default {
},
handleEdit(index, data) {
data.isReadOnly = true;
if (data.type === 'EMAIL') {
if (data.type === 'EMAIL' || data.type === 'IN_SITE') {
data.isReadOnly = !data.isReadOnly;
data.webhook = '';
}
},
handleEditTask(index, data) {
data.isSet = true;
if (data.type === 'EMAIL') {
if (data.type === 'EMAIL' || data.type === 'IN_SITE') {
data.isReadOnly = false;
data.webhook = '';
} else {

View File

@ -212,14 +212,14 @@ export default {
},
handleEdit(index, data) {
data.isReadOnly = true;
if (data.type === 'EMAIL') {
if (data.type === 'EMAIL' || data.type === 'IN_SITE') {
data.isReadOnly = !data.isReadOnly;
data.webhook = '';
}
},
handleEditTask(index, data) {
data.isSet = true;
if (data.type === 'EMAIL') {
if (data.type === 'EMAIL' || data.type === 'IN_SITE') {
data.isReadOnly = false;
data.webhook = '';
} else {

View File

@ -221,14 +221,14 @@ export default {
},
handleEdit(index, data) {
data.isReadOnly = true;
if (data.type === 'EMAIL') {
if (data.type === 'EMAIL' || data.type === 'IN_SITE') {
data.isReadOnly = !data.isReadOnly;
data.webhook = '';
}
},
handleEditTask(index, data) {
data.isSet = true;
if (data.type === 'EMAIL') {
if (data.type === 'EMAIL' || data.type === 'IN_SITE') {
data.isReadOnly = false;
data.webhook = '';
} else {

View File

@ -219,14 +219,14 @@ export default {
},
handleEdit(index, data) {
data.isReadOnly = true;
if (data.type === 'EMAIL') {
if (data.type === 'EMAIL' || data.type === 'IN_SITE') {
data.isReadOnly = !data.isReadOnly;
data.webhook = '';
}
},
handleEditTask(index, data) {
data.isSet = true;
if (data.type === 'EMAIL') {
if (data.type === 'EMAIL' || data.type === 'IN_SITE') {
data.isReadOnly = false;
data.webhook = '';
} else {

View File

@ -212,7 +212,7 @@ export default {
},
handleEdit(index, data) {
data.isReadOnly = true;
if (data.type === 'EMAIL') {
if (data.type === 'EMAIL' || data.type === 'IN_SITE') {
data.isReadOnly = !data.isReadOnly;
data.webhook = '';
}
@ -220,7 +220,7 @@ export default {
handleEditTask(index, data) {
data.isSet = true;
if (data.type === 'EMAIL') {
if (data.type === 'EMAIL' || data.type === 'IN_SITE') {
data.isReadOnly = false;
data.webhook = '';
} else {

View File

@ -210,14 +210,14 @@ export default {
},
handleEdit(index, data) {
data.isReadOnly = true;
if (data.type === 'EMAIL') {
if (data.type === 'EMAIL' || data.type === 'IN_SITE') {
data.isReadOnly = !data.isReadOnly;
data.webhook = '';
}
},
handleEditTask(index, data) {
data.isSet = true;
if (data.type === 'EMAIL') {
if (data.type === 'EMAIL' || data.type === 'IN_SITE') {
data.isReadOnly = false;
data.webhook = '';
} else {