|
@@ -12,6 +12,10 @@
|
|
success: function (res) {
|
|
success: function (res) {
|
|
if (res.windowWidth > 700) {
|
|
if (res.windowWidth > 700) {
|
|
console.log('进入pc');
|
|
console.log('进入pc');
|
|
|
|
+ uni.showToast({
|
|
|
|
+ title:'进入pc',
|
|
|
|
+ icon:'none'
|
|
|
|
+ })
|
|
const params=options.query
|
|
const params=options.query
|
|
let paramsStr=''
|
|
let paramsStr=''
|
|
for(const key in params){
|
|
for(const key in params){
|
|
@@ -26,6 +30,12 @@
|
|
});
|
|
});
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ fail:function(res){
|
|
|
|
+ uni.showToast({
|
|
|
|
+ title: '判断进入pc失败',
|
|
|
|
+ icon: 'none'
|
|
|
|
+ })
|
|
|
|
+ }
|
|
})
|
|
})
|
|
},
|
|
},
|
|
onHide: function() {
|
|
onHide: function() {
|