You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
533 B
28 lines
533 B
<script>
|
|
export default {
|
|
onLaunch: function() {
|
|
console.log('App Launch')
|
|
},
|
|
onShow: function(options) {
|
|
console.log(options)
|
|
console.log('App Show')
|
|
if(options.scene!=1007&&options.scene!=1008){
|
|
// uni.navigateTo({
|
|
// url:'/pages/login/login'
|
|
// })
|
|
}else{
|
|
// uni.navigateTo({
|
|
// url:options.path
|
|
// })
|
|
}
|
|
},
|
|
onHide: function() {
|
|
console.log('App Hide')
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
/*每个页面公共css */
|
|
@import "@/uni_modules/uview-ui/index.scss";
|
|
</style>
|
|
|