fix: 添加资源库上传资源失败的方法

main
wu.jian2 2 years ago
parent 7968117703
commit f0891a88e2

@ -216,6 +216,12 @@ export default {
this.getDataList()
},
methods: {
uploadError () {
this.$message({
type: 'error',
message: '上传失败'
})
},
uploadSuccess (response, file, fileList) {
if (response.code === 200) {
this.$message({

Loading…
Cancel
Save