优化bug
This commit is contained in:
@@ -32,14 +32,15 @@ export default {
|
||||
}
|
||||
if (val.confirm) {
|
||||
this.$confirm(val.confirm, '温馨提示', {
|
||||
confirmButtonText: '确定',
|
||||
confirmButtonText: '重试',
|
||||
closeOnClickModal: false,
|
||||
closeOnPressEscape: false,
|
||||
showClose: false,
|
||||
showCancelButton: false,
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
if (val.req && val.req === 'continue_task') {
|
||||
// 下一个任务
|
||||
this.$store.dispatch('websocketsend', {
|
||||
this.$store.dispatch('chat/websocketsend', {
|
||||
req_name: 'continue_task',
|
||||
req_type: 1,
|
||||
req_info: {}
|
||||
@@ -52,10 +53,6 @@ export default {
|
||||
}).catch(() => {
|
||||
|
||||
});
|
||||
this.$messageBox({
|
||||
message: val.messageBox,
|
||||
type: val.type,
|
||||
})
|
||||
}
|
||||
},
|
||||
deep: true,
|
||||
|
||||
Reference in New Issue
Block a user