@@ -5,8 +5,11 @@
SET_CUSTOM_BAR: 0,
SET_SYSTEM_INFO: {}
},
- onLaunch: function() {
+ onLaunch: function(option) {
console.log('App Launch')
+ let query= option.query||option
+ uni.setStorageSync('query',query)
+
uni.getSystemInfo({
success: (e) => {
let statusBar = 0
@@ -71,5 +71,10 @@
"enable" : false
"vueVersion" : "2",
- "locale" : "auto"
+ "locale" : "auto",
+ "h5" : {
+ "router" : {
+ "mode" : "history"
+ }
}