|
@@ -28,6 +28,9 @@ if (uaInfo.browser && uaInfo.browser.name === 'WeChat') {
|
|
|
if (uaInfo.browser && uaInfo.browser.name === 'Safari') {
|
|
|
Vue.prototype.$isSafari = true
|
|
|
}
|
|
|
+if (uaInfo.device.type !== 'mobile' && window.innerWidth > window.innerHeight) {
|
|
|
+ location.replace(process.env.VUE_APP_PC_URL)
|
|
|
+}
|
|
|
|
|
|
Vue.prototype.$globalConfig = globalConfig
|
|
|
Vue.prototype.$cdnPath = process.env.VUE_APP_CDN_PATH
|