askbot-dragon 1.6.58 → 1.6.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": "askbot-dragon",
3
- "version": "1.6.58",
3
+ "version": "1.6.59",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -484,7 +484,12 @@ export default {
484
484
  if (/(iPhone|iPad|iPod|iOS|Android)/i.test(navigator.userAgent)) {
485
485
  this.isPc = false
486
486
  } else {
487
- this.isPc = true
487
+ let documentWidth = document.documentElement.clientWidth;
488
+ if(documentWidth < 750) {
489
+ this.isPc = false
490
+ } else {
491
+ this.isPc = true
492
+ }
488
493
  }
489
494
  },
490
495
  clickFloder() {