Files
workspace/code/container-ocr/ocr-uniapp/src/App.vue
T
2026-03-27 17:32:07 +08:00

47 lines
692 B
Vue

<script setup lang="ts">
import { onHide, onLaunch, onShow } from '@dcloudio/uni-app'
import { loadTianDiTu } from '@/utils/tdl-loader'
import { useUserStore } from './store'
// const userStore = useUserStore()
onLaunch(() => {
// userStore.requireLogin()
// uni.hideTabBar()
})
onLoad(async (options) => {
// options 会包含 orgid 和 bid
const { orgid, bid } = options
console.log(options)
})
onMounted(() => {
})
onUnmounted(() => {
})
</script>
<style>
page {
background-color: #ffffff;
}
</style>
<style lang="scss">
swiper,
scroll-view {
flex: 1;
height: 100%;
overflow: hidden;
}
image {
width: 100%;
height: 100%;
vertical-align: middle;
}
</style>