@@ -475,14 +475,16 @@ export default {
file.isEdit = !file.isEdit;
},
- //提交到资源库
+ // 提交到资源库
addResource(file) {
let data = {
project_id: this.project_id,
file_id: file.file_id,
};
SubmitFileToResourceStore(data)
- .then((res) => {})
+ .then((res) => {
+ this.$message.success('操作成功!');
+ })
.catch(() => {
this.loading = false;
});