mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-29 21:28:52 +00:00
fix: 修复工单提示报错
This commit is contained in:
@@ -193,7 +193,11 @@ export default {
|
||||
return
|
||||
}
|
||||
if (typeof error === 'object') {
|
||||
error = JSON.stringify(error)
|
||||
const str = error
|
||||
error = ''
|
||||
Object.keys(str).forEach(key => {
|
||||
error += `${str[key][0]} | `
|
||||
})
|
||||
}
|
||||
if (field.attrs.error === error) {
|
||||
error += '.'
|
||||
|
||||
Reference in New Issue
Block a user