askbot-dragon 1.6.76 → 1.6.77

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": "askbot-dragon",
3
- "version": "1.6.76",
3
+ "version": "1.6.77",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -76,8 +76,11 @@ export default {
76
76
  previewUrl () {
77
77
  let url = process.env.VUE_APP_ENV === 'production' ? 'https://kkfileview.askbot.cn/onlinePreview?url=' : 'https://test.open.askbot.cn/kkfileview/onlinePreview?url='
78
78
  if(process.env.VUE_APP_SOURCE == 'lining_test') {
79
- url = 'https://wxgw.lining.com/askbot/kkfileview/onlinePreview?url='
80
- }
79
+ url = 'https://wxgw.lining.com/askbot/kkfileview/onlinePreview?url='
80
+ }
81
+ if(process.env.VUE_APP_SOURCE == 'lining_production') {
82
+ url = 'https://wxgw.lining.com/askbot-prd/kkfileview/onlinePreview?url='
83
+ }
81
84
  if (this.url != '') {
82
85
  // if (/[\u4E00-\u9FA5]+/g.test(this.url)) {
83
86
  // url += btoa(encodeURIComponent(this.url))
@@ -304,6 +304,9 @@ export default {
304
304
  if(process.env.VUE_APP_SOURCE == 'lining_test') {
305
305
  url = 'https://wxgw.lining.com/askbot/kkfileview/onlinePreview?url='
306
306
  }
307
+ if(process.env.VUE_APP_SOURCE == 'lining_production') {
308
+ url = 'https://wxgw.lining.com/askbot-prd/kkfileview/onlinePreview?url='
309
+ }
307
310
  console.debug('VUE_APP_ENV', process.env.VUE_APP_ENV,process.env.VUE_APP_SOURCE,url)
308
311
  // if(this.url != '') {
309
312
  // if(/[\u4E00-\u9FA5]+/g.test(this.url)) {
@@ -105,6 +105,9 @@ export default {
105
105
  if(process.env.VUE_APP_SOURCE == 'lining_test') {
106
106
  url = 'https://wxgw.lining.com/askbot/kkfileview/onlinePreview?url='
107
107
  }
108
+ if(process.env.VUE_APP_SOURCE == 'lining_production') {
109
+ url = 'https://wxgw.lining.com/askbot-prd/kkfileview/onlinePreview?url='
110
+ }
108
111
  if (this.url != "") {
109
112
  // if (/[\u4E00-\u9FA5]+/g.test(this.url)) {
110
113
  // url += btoa(encodeURIComponent(this.url))