|
@@ -75,7 +75,6 @@
|
|
}
|
|
}
|
|
},
|
|
},
|
|
onLoad() {
|
|
onLoad() {
|
|
- console.log("@@@")
|
|
|
|
uni.$on('login', (data) => {
|
|
uni.$on('login', (data) => {
|
|
this.loginStatus = data.msg
|
|
this.loginStatus = data.msg
|
|
})
|
|
})
|
|
@@ -106,7 +105,18 @@
|
|
uni.hideLoading();
|
|
uni.hideLoading();
|
|
})
|
|
})
|
|
}
|
|
}
|
|
- this.onLaunch_s()
|
|
|
|
|
|
+ uni.getSystemInfo({
|
|
|
|
+ success: function (res) {
|
|
|
|
+ console.log(res.platform);
|
|
|
|
+ if(res.platform == android){
|
|
|
|
+ this.onLaunch_s()
|
|
|
|
+ console.log("5896558596589658626565656615615512651561651561651")
|
|
|
|
+ }else if(res.platform == ios){
|
|
|
|
+ console.log("暂无数据")
|
|
|
|
+ console.log("626515616561658158461586515686586641565847444598660351651965145985987456")
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ });
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
...mapState(['hasLogin'])
|
|
...mapState(['hasLogin'])
|