zhuliu 7 місяців тому
батько
коміт
97291841ed

+ 1 - 1
src/components/VabOnlyOffice/index.vue

@@ -88,7 +88,7 @@ import mixins from './index.js'
           name:option.user.name
         }
         
-        let callbackUrl = `http://192.168.2.103:5000/api/xiaoshi/onlyOffice/callback?guid=${option.id}`
+        let callbackUrl = `http://192.168.2.109:8803/onlyOffice/callback?guid=${option.id}`
         if(option.title){
           callbackUrl += `&fileName=${option.title}`
         }

+ 4 - 0
src/utils/axios.js

@@ -62,6 +62,10 @@ _axios.interceptors.response.use(
       loadingInstance.close()
     }
     let { code, message } = response.data
+    if(code != 0 && !code ){
+      isRefreshing = false
+      return response.data
+    }
     if (code === 200 || config.responseType === 'blob') {
       isRefreshing = false
       return response.data

+ 1 - 1
src/views/noveltySearch/components/exportReport/otherTemplate/otherTemplate.vue

@@ -19,7 +19,7 @@
 </template>
 
 <script>
-import {parse} from 'pptxtojson'
+// import {parse} from 'pptxtojson'
 export default {
   components: {},
   props: {},