|
@@ -131,17 +131,14 @@
|
|
|
},
|
|
|
methods: {
|
|
|
system() {
|
|
|
- console.log("在这里")
|
|
|
uni.getSystemInfo({
|
|
|
success: res => {
|
|
|
- // let add = ''这个不要删除!
|
|
|
- // console.log(res)这个不要删除!
|
|
|
+ this.platform = res.platform
|
|
|
},
|
|
|
complete: err => {
|
|
|
+ this.platform = err.platform
|
|
|
if (err.platform == 'android') {
|
|
|
this.onLaunch_s()
|
|
|
- console.log("在这里2")
|
|
|
- this.platform = err.platform
|
|
|
} else if (err.platform == 'ios') {
|
|
|
//
|
|
|
this.iosstartup()
|