task修改
This commit is contained in:
@@ -162,6 +162,11 @@ export default {
|
||||
},
|
||||
toDel (index) {
|
||||
if (this.pkId) {
|
||||
if (this.selectObj.task_status === '01') {
|
||||
let tipText = this.$i18n.locale === 'en-us' ? 'The Task Is Running And Cannot Be Canceled' : '任务正在运行,不能取消'
|
||||
this.toast(tipText)
|
||||
return
|
||||
}
|
||||
this.dataList.splice(index, 1)
|
||||
this.pkId = ''
|
||||
this.up = false
|
||||
|
||||
Reference in New Issue
Block a user