|
@@ -130,9 +130,10 @@ export default {
|
|
let errorStr = ''
|
|
let errorStr = ''
|
|
if (res.data.errors.length) {
|
|
if (res.data.errors.length) {
|
|
res.data.errors.map(item => {
|
|
res.data.errors.map(item => {
|
|
- errorStr += item
|
|
|
|
|
|
+ errorStr += item + ';'
|
|
})
|
|
})
|
|
- this.$message.warning({ message: errorStr, duration: 3500 })
|
|
|
|
|
|
+ const msg = errorStr.substring(0, errorStr.length - 1)
|
|
|
|
+ this.$message.warning({ message: msg, duration: 3500 })
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
this.$message.success('评估成功')
|
|
this.$message.success('评估成功')
|