fix(接口定义): 修复定时同步定时任务提示信息
--bug=1016261 --user=王孝刚 【接口测试】github#17263,任务状态本就是关闭,想要打开,点击后,仍然弹出“关闭任务”的弹框。 https://www.tapd.cn/55049933/s/1233142
This commit is contained in:
parent
a69c729627
commit
7896d7bd8f
|
@ -80,8 +80,12 @@ export default {
|
|||
this.$emit('rowClick', row);
|
||||
},
|
||||
closeTaskConfirm(row) {
|
||||
row.enable = !row.enable
|
||||
operationConfirm(this, this.$t('api_test.home_page.running_task_list.confirm.close_title'), () => {
|
||||
let message = this.$t('api_test.home_page.running_task_list.confirm.close_title');
|
||||
if (row.enable) {
|
||||
message = this.$t('api_test.home_page.running_task_list.confirm.open_title');
|
||||
}
|
||||
row.enable = !row.enable;
|
||||
operationConfirm(this, message, () => {
|
||||
row.enable = !row.enable
|
||||
this.updateTask(row);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue