Explorar el Código

部分接口默认触发加载

cfort hace 3 años
padre
commit
390b41c06e
Se han modificado 1 ficheros con 4 adiciones y 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
   })
 }