This commit is contained in:
weiwei committed 2025-04-03 16:29:48 +08:00
1 parent 67a220b60b
commit 2c8e8ff9bd
3 files changed
+20 -12

No files matched your search

+8 -3
View File
@@ -1,11 +1,10 @@
<script setup lang="ts">
import { ref, reactive } from "vue"
import { onLoad, onShow } from "@dcloudio/uni-app"
import { isEmpty } from "radash"
import uqrcode from "@@/utils/uqrcode"
import { hooks, router } from "@@/index"
import { merchantApi, walletApi } from "@@/api"
import { walletApi } from "@@/api"
import { filePath } from "@@/utils/file"
import { useTransferMoney } from "@/sheep/stores/transferMoney"
@@ -31,7 +30,13 @@ const freezeForm = reactive<any>({
})
onLoad(() => {})
onShow(() => {})
onShow(async () => {
const isLogin = await hooks.useCheckLogin()
if (!isLogin) return
if (pageRef.value) {
pageRef.value.reload(false)
}
})
const pageRef = ref<any>(null)
const pageHook = hooks.usePage(pageRef, walletApi.all, null, "data.records")