|
|
@ -15,8 +15,10 @@ |
|
|
|
* 初始化完成时触发 |
|
|
|
* 初始化完成时触发 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
onLaunch({ path, query, scene }) { |
|
|
|
onLaunch({ path, query, scene }) { |
|
|
|
|
|
|
|
console.log(this.$route); |
|
|
|
// #ifdef H5 |
|
|
|
// #ifdef H5 |
|
|
|
const storeId = this.$route.query.storeId; |
|
|
|
const storeId = this.$route.query.storeId; |
|
|
|
|
|
|
|
console.log(storeId); |
|
|
|
uni.setStorageSync('storeId', storeId || ''); |
|
|
|
uni.setStorageSync('storeId', storeId || ''); |
|
|
|
// #endif |
|
|
|
// #endif |
|
|
|
// #ifdef MP |
|
|
|
// #ifdef MP |
|
|
|