This commit is contained in:
yanran200730
2022-05-26 09:30:49 +08:00
parent 4f5ecd6799
commit 2c763096f1
2 changed files with 3 additions and 1 deletions

View File

@@ -158,6 +158,7 @@
success: res => {
let formData = new FormData()
formData.append('file', res.tempFiles[0])
this.$loading()
this.$http.post('/admin/file/add2?type=image', formData).then(res => {
if (res.code === 0) {
this.linkTo(`./Watermark?url=${res.data.url}`)