askbot-dragon 1.5.31-beta → 1.5.33-beta

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.5.31-beta",
3
+ "version": "1.5.33-beta",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -154,7 +154,7 @@ export default {
154
154
  }
155
155
  }
156
156
  },
157
- props: ['msg','isAskLightning', 'isMessageRecord',"isApp","isOhmPc"],
157
+ props: ['msg','isAskLightning', 'isMessageRecord',"isApp"],
158
158
  beforeMounted() {
159
159
 
160
160
  },
@@ -234,8 +234,8 @@ export default {
234
234
  if(res.data.code == '0') {
235
235
  this.previewHref = res.data.data;
236
236
  this.sourceFileType = url.substring(url.lastIndexOf('.'))
237
- console.log(window.location,'查看原文时');
238
- if (isMobile() || this.isOhmPc === 'pc'){
237
+ let isOhmPc = sessionStorage.getItem('isOhmPc')
238
+ if (isMobile() || isOhmPc == 'true'){
239
239
  this.$refs.previewPdf.drawer = true;
240
240
  this.$refs.previewPdf.previewShowPopup = true;
241
241
  } else {