From 988a7bd03522141b7f41cf0f6bc9744eb217e795 Mon Sep 17 00:00:00 2001 From: liaozetao <1107136310@qq.com> Date: Tue, 2 Jan 2024 16:33:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=81=AE=E7=BD=A9=E5=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/users/GiftManageView.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/views/users/GiftManageView.vue b/src/views/users/GiftManageView.vue index 0671d20..2a26bd8 100644 --- a/src/views/users/GiftManageView.vue +++ b/src/views/users/GiftManageView.vue @@ -1034,6 +1034,7 @@ export default { }); }) $('#viewFileUploadBtn').on('click', function () { + showLoading(); $.ajaxFileUpload({ url: '/admin/gift/upload',//后台请求地址 type: 'post',//请求方式 当要提交自定义参数时,这个参数要设置成post @@ -1051,9 +1052,11 @@ export default { $("#viewFileInfo").html('未上传成功'); } console.log(json.path); + hideLoading(); } else { $("#tipMsg").text(json.msg); $("#tipModal").modal('show'); + hideLoading(); } } });