This commit is contained in:
yanran200730
2022-05-26 14:10:43 +08:00
parent 7264571155
commit b56c159310
6 changed files with 12 additions and 1 deletions

View File

@@ -170,7 +170,8 @@
this.$http.post('/admin/file/add2?type=image', formData).then(res => {
if (res.code === 0) {
this.linkTo(`./Watermark?url=${res.data.url}&albumId=${this.id}`)
} else {
this.$u.toast(res.msg)
}
})
}

View File

@@ -162,6 +162,8 @@
this.$http.post('/admin/file/add2?type=image', formData).then(res => {
if (res.code === 0) {
this.linkTo(`./Watermark?url=${res.data.url}`)
} else {
this.$u.toast(res.msg)
}
})
}

View File

@@ -152,6 +152,8 @@
type: 'img',
value: res.data.url
})
} else {
this.$u.toast(res.msg)
}
})
}

View File

@@ -161,6 +161,8 @@
type: 'img',
value: res.data.url
})
} else {
this.$u.toast(res.msg)
}
})
}

View File

@@ -181,6 +181,8 @@
type: 'img',
value: res.data.url
})
} else {
this.$u.toast(res.msg)
}
})
}

View File

@@ -152,6 +152,8 @@
type: 'img',
value: res.data.url
})
} else {
this.$u.toast(res.msg)
}
})
}