@@ -34,7 +34,7 @@ const devWebpackConfig = merge(baseWebpackConfig, {
compress: true,
// host: HOST || config.dev.host,
// host: '192.168.3.6',
- host: '192.168.1.103',
+ host: '192.168.1.106',
port: PORT || config.dev.port,
open: config.dev.autoOpenBrowser,
overlay: config.dev.errorOverlay
@@ -56,7 +56,8 @@ import { getExpStr,scrollToV,isIos} from '@utils/tools';
this.$emit('handleSelec');
}
if(!isIos()){
- scrollToV(e)
+ // scrollToV(e)
+ // document.activeElement.scrollIntoViewIfNeeded(true);
},
@@ -173,11 +173,16 @@
})
getStart(){
+ const pathInfo = this.pathInfo;
+ if(JSON.stringify(pathInfo)=='{}'){
+ this.defaultWaring('网络异常请稍后重试');
+ return
+ }
if(this.isReady){
// this.$router.push({path:'/tab'})
this.$router.replace({path:'/tab'})
}else{
- this.defaultWaring('网络异常请稍后重试')
+ this.defaultWaring('请先维护症状模块')
defaultWaring(msg){