vue2-client 1.12.48 → 1.12.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue2-client",
3
- "version": "1.12.48",
3
+ "version": "1.12.49",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -33,7 +33,7 @@ import { Base64 } from 'js-base64'
33
33
  import 'video.js/dist/video-js.css'
34
34
  import 'videojs-contrib-hls'
35
35
  import { videoPlayer } from 'vue-video-player'
36
- import { getConfigByNameAsync } from '@/services/api/common'
36
+ import { getConfigByNameAsync } from '@vue2-client/services/api/common'
37
37
  import { mapState } from 'vuex'
38
38
 
39
39
  export default {
@@ -102,6 +102,8 @@ export default {
102
102
  if (this.compatible === 'OA') {
103
103
  this.previewDocService = 'http://aote-office.8866.org:8406'
104
104
  this.fileServer = 'http://aote-office.8866.org:32510/onlinePreview?url='
105
+ this.previewGen()
106
+ return
105
107
  }
106
108
  getConfigByNameAsync('previewDocServiceConfig').then(res => {
107
109
  if (!res.fileServer) {