修復圖片上傳
This commit is contained in:
@@ -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('上传成功');
|
||||
|
Reference in New Issue
Block a user