vue2-client 1.12.58 → 1.12.59

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.58",
3
+ "version": "1.12.59",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -100,8 +100,8 @@ export default {
100
100
  methods: {
101
101
  preview () {
102
102
  if (this.compatible === 'OA') {
103
- this.previewDocService = 'http://aote-office.8866.org:8406'
104
- this.fileServer = 'http://aote-office.8866.org:32510/onlinePreview?url='
103
+ this.fileServer = 'http://aote-office.8866.org:8406'
104
+ this.previewDocService = 'http://aote-office.8866.org:32510/onlinePreview?url='
105
105
  this.previewGen()
106
106
  return
107
107
  }
@@ -130,11 +130,6 @@ export default {
130
130
  this.playerOptions.sources[0].src = this.path
131
131
  this.showImagePreview = 3
132
132
  } else {
133
- if (this.path.startsWith('http')) {
134
- this.previewDocUrl = this.path
135
- this.showImagePreview = 1
136
- return
137
- }
138
133
  const previewDocUrl = this.previewDocService + encodeURIComponent(Base64.encode(this.fileServer + this.path))
139
134
  if (this.previewDocUrl !== previewDocUrl) {
140
135
  this.previewDocLoading = true