mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-18 16:32:28 +00:00
Merge pull request #2656 from jumpserver/pr@dev@fix_playbook_upload_failer_error
fix: 修复 playbook 上传失败不显示消息的问题
This commit is contained in:
@@ -77,9 +77,7 @@ export default {
|
||||
uploadPlaybook(form).then(res => {
|
||||
this.$emit('update:visible', false)
|
||||
this.$emit('completed')
|
||||
this.$message.success('terminal.UploadSucceed')
|
||||
}).catch(err => {
|
||||
this.$message.error(err)
|
||||
this.$message.success(this.$tc('terminal.UploadSucceed'))
|
||||
})
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user