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