|
|
@@ -325,6 +325,9 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
+ if (process.env.NODE_ENV == "development") {
|
|
|
+ localStorage.setItem("server_address", `${window.location.origin}/`);
|
|
|
+ }
|
|
|
const regExp = /Android|webOS|iPhone|BlackBerry|IEMobile|Opera Mini/i;
|
|
|
this.isPhone = regExp.test(navigator.userAgent) && window.innerWidth < 860;
|
|
|
this.isPad =
|