no message

This commit is contained in:
小陌 2023-07-20 22:59:02 +08:00
parent 0c4882fcaf
commit 4bbb43dcfe
2 changed files with 2 additions and 2 deletions

View File

@ -96,7 +96,7 @@
const data = new FormData(); const data = new FormData();
data.append("files", blobInfo.blob() ,blobInfo.filename()); data.append("files", blobInfo.blob() ,blobInfo.filename());
API.common.upload.post(data).then((res) => { API.common.upload.post(data).then((res) => {
resolve(res.data.src) resolve(res.data.url)
}).catch(() => { }).catch(() => {
reject("Image upload failed") reject("Image upload failed")
}) })

View File

@ -152,7 +152,7 @@
}, },
// //
groupClick(data){ groupClick(data){
this.search[this.aside.searchkey||'groupid'] = data[this.aside.key || 'id']; this.search[ this.aside.searchkey || 'groupid' ] = data[ this.aside.key || 'id' ];
this.$refs.table.reload(this.search) this.$refs.table.reload(this.search)
}, },
// //