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.
29 lines
579 B
29 lines
579 B
<template>
|
|
<view id="app">
|
|
<router-view></router-view>
|
|
</view>
|
|
</template>
|
|
<script setup lang="ts">
|
|
// import routingIntercept from '@/permission'
|
|
|
|
onLaunch(() => {
|
|
// routingIntercept()
|
|
})
|
|
onShow(() => {
|
|
console.log('App Show')
|
|
})
|
|
onHide(() => {
|
|
console.log('App Hide')
|
|
})
|
|
// 全局变量
|
|
// provide('globalObj', <globalObjInt>{
|
|
// // 公用跳转方法
|
|
// goToPage
|
|
// });
|
|
// // 引入静态资源
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
/* 注意要写在第一行,同时给style标签加入lang="scss"属性 */
|
|
@import 'uview-plus/index.scss';
|
|
</style>
|
|
|