优化bug

This commit is contained in:
24kycj
2024-11-30 17:29:57 +08:00
parent c2dc433d87
commit ba2579642d
5 changed files with 61 additions and 102 deletions
+4 -7
View File
@@ -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,