修復圖片上傳

This commit is contained in:
liaozetao
2023-11-20 11:19:50 +08:00
parent 8a2a51b0de
commit ba89520f01
2 changed files with 5 additions and 3 deletions

View File

@@ -178,7 +178,7 @@ export default {
this.$nextTick(function () {
let $this = this;
$('#urlUploadBtn').click(function () {
uploadFile('url').then(res => {
uploadFile('urlFile').then(res => {
if (res.path) {
$this.resource.url = res.path;
$('#urlUploadInfo').val('上传成功');