askbot-dragon 1.6.49 → 1.6.50

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.49",
3
+ "version": "1.6.50",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -257,7 +257,7 @@
257
257
  console.log(252);
258
258
  this.previewHref = e.target.href;
259
259
  console.log(254, this.previewHref);
260
- if (this.previewHref.includes('https://www') || this.previewHref.includes('http://www') || (!this.previewHref.includes('https://static.guoranbot.com') && this.previewHref.includes('https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com'))){
260
+ if (this.previewHref.includes('https://www') || this.previewHref.includes('http://www') || (!this.previewHref.includes('https://static.guoranbot.com') && this.previewHref.includes('https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com') || this.previewHref.includes('http://oa'))){
261
261
  return
262
262
  } else if(this.previewHref.includes('/pages/opportunity/index') ||
263
263
  this.previewHref.includes('/pages/webViewTransit/index')
@@ -2,7 +2,7 @@
2
2
  <div class="positionView">
3
3
  <div class="positionContainer" :class="splitParagraph.length > 1 && fileType !== 'XLS' && fileType !== 'XLSX' ? 'has-footer' : 'no-footer'">
4
4
  <doc-view
5
- v-if="fileType === 'TXT' || fileType === 'DOCX' || fileType === 'DOC'"
5
+ v-if="fileType === 'TXT' || fileType === 'DOCX' || fileType === 'DOC' || fileType === 'HTML'"
6
6
  :html_result="html_result"
7
7
  :split_paragraphs="splitParagraph"
8
8
  ref="docView"