修复bug

This commit is contained in:
24kycj
2025-06-19 21:59:34 +08:00
parent 0ee97073c0
commit 5441064823
5 changed files with 94 additions and 47 deletions
+30 -1
View File
@@ -59,6 +59,16 @@ export default {
},
deep: true,
immediate: true
},
'$store.state.chat.clearError': {
handler(val) {
let that = this
if (val) {
that.$notify.closeAll()
}
},
deep: true,
immediate: true
}
},
methods: {
@@ -94,8 +104,27 @@ export default {
'确定'
)
]
if (data.noJump) {
btns = [
that.$createElement(
'el-button',
{
props: { type: 'primary', size: 'mini' },
style: { marginLeft: '10px' },
on: {
click: () => {
that.errors.splice(that.errors.indexOf(data.message), 1)
notifyInstance.close()
}
}
},
'确定'
)
]
}
if (data.confirm) {
btns[1] = that.$createElement(
let index = data.noJump ? 0 : 1
btns[index] = that.$createElement(
'el-button',
{
props: { type: 'primary', size: 'mini' },