26 lines
531 B
Vue
26 lines
531 B
Vue
|
<script>
|
||
|
export default {
|
||
|
onLaunch(options) {
|
||
|
// console.log(options,'optionsoptions');
|
||
|
console.log('query', options.query);
|
||
|
if( options.query){
|
||
|
uni.setStorageSync('channelId',options.query.channelId)
|
||
|
}
|
||
|
|
||
|
// my.alert({content: '启动参数:'+JSON.stringify(options.query.x),});
|
||
|
// console.log('query', options.query);
|
||
|
// console.log('App Launch', options);
|
||
|
},
|
||
|
onShow: function() {
|
||
|
|
||
|
},
|
||
|
onHide: function() {
|
||
|
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style>
|
||
|
/*每个页面公共css */
|
||
|
</style>
|