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
|
@@ -154,7 +154,7 @@ export default {
|
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
},
|
|
157
|
-
props: ['msg','isAskLightning', 'isMessageRecord',"isApp"
|
|
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
|
-
|
|
238
|
-
if (isMobile() ||
|
|
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 {
|