|
@@ -13,25 +13,25 @@
|
|
|
if (res.windowWidth > 700) {
|
|
|
|
|
|
const params=options.query
|
|
|
- let paramsStr=`xcxPath=${options.path}`
|
|
|
+ let paramsStr=`xcxPath=${decodeURIComponent(options.path)}`
|
|
|
for(const key in params){
|
|
|
paramsStr=`${paramsStr}&${key}=${params[key]}`
|
|
|
}
|
|
|
console.log('进入pc');
|
|
|
- uni.showToast({
|
|
|
- title:'进入pc',
|
|
|
- icon:'none'
|
|
|
- })
|
|
|
+ // uni.showToast({
|
|
|
+ // title:'进入pc',
|
|
|
+ // icon:'none'
|
|
|
+ // })
|
|
|
uni.reLaunch({
|
|
|
url: `/pages/pc?${paramsStr}`,
|
|
|
});
|
|
|
}
|
|
|
},
|
|
|
fail:function(res){
|
|
|
- uni.showToast({
|
|
|
- title: '判断进入pc失败',
|
|
|
- icon: 'none'
|
|
|
- })
|
|
|
+ // uni.showToast({
|
|
|
+ // title: '判断进入pc失败',
|
|
|
+ // icon: 'none'
|
|
|
+ // })
|
|
|
}
|
|
|
})
|
|
|
},
|