u
This commit is contained in:
1 parent
78e3b1292b
commit
ce466130c0
10 files changed
+342
-56
No files matched your search
@@ -1,20 +1,21 @@
|
||||
<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()
|
||||
const userStore = useUserStore()
|
||||
|
||||
onLaunch(() => {
|
||||
// userStore.requireLogin()
|
||||
// uni.hideTabBar()
|
||||
|
||||
uni.onTabBarMidButtonTap(() => {
|
||||
uni.navigateTo({
|
||||
url: '/pages-sub/upload/index',
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
onLoad(async (options) => {
|
||||
// options 会包含 orgid 和 bid
|
||||
const { orgid, bid } = options
|
||||
onLoad(async (options) => {
|
||||
|
||||
console.log(options)
|
||||
})
|
||||
|
||||
onMounted(() => {
|
||||
|
||||
Reference in new issue
Block a user