|
@@ -53,12 +53,11 @@ if (uaInfo.browser && uaInfo.browser.name === 'Safari') {
|
|
}
|
|
}
|
|
if (uaInfo.device.type === 'mobile') {
|
|
if (uaInfo.device.type === 'mobile') {
|
|
app.provide('$isMobile', true)
|
|
app.provide('$isMobile', true)
|
|
-} else if (process.env.NODE_ENV === 'production') {
|
|
|
|
|
|
+} else {
|
|
// window.location.href = './mobile.html'
|
|
// window.location.href = './mobile.html'
|
|
const appDom = document.getElementById('app')
|
|
const appDom = document.getElementById('app')
|
|
appDom.style.maxWidth = '100%'
|
|
appDom.style.maxWidth = '100%'
|
|
- window.location.href = './index.html#/pc'
|
|
|
|
-
|
|
|
|
|
|
+ window.location.assign(process.env.VUE_APP_PC_URL)
|
|
}
|
|
}
|
|
// } else {
|
|
// } else {
|
|
// window.location.href = './mobile.html'
|
|
// window.location.href = './mobile.html'
|