Explorar o código

部分接口默认触发加载

cfort %!s(int64=3) %!d(string=hai) anos
pai
achega
390b41c06e
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      src/api/platform/file/attachment.js

+ 4 - 0
src/api/platform/file/attachment.js

@@ -186,6 +186,7 @@ export function snapshoot(params) {
   return request({
     url: SYSTEM_URL() + '/file/upload/runQianUpload',
     method: 'post',
+    isLoading: true,
     params: params
   })
 }
@@ -205,6 +206,7 @@ export function seal(url, fileType, type) {
   return axios({
     url: this.$form.$getSealUploadingFile,
     method: 'post',
+    isLoading: true,
     data: data
   })
 }
@@ -226,6 +228,7 @@ export function sealPre(url, fileKey) {
   return axios({
     url: this.$form.$getSealPreFile,
     method: 'post',
+    isLoading: true,
     data: data
   })
 }
@@ -239,6 +242,7 @@ export function sealPage(sigFile) {
   return axios({
     url: this.$form.$getSealPageFile,
     method: 'get',
+    isLoading: true,
     params: data
   })
 }