1
This commit is contained in:
1 parent
19a5af237d
commit
053707d4c8
1 file changed
+15
-18
+15
-18
@@ -60,7 +60,7 @@ const state = reactive<{ wallet: any; userInfo: any; menuList: MenuItem[] }>({
|
||||
wallet: [],
|
||||
userInfo: {},
|
||||
menuList: [
|
||||
{ text: "扫一扫", icon: "/static/icon/service_3.png", router: "/pages/wallet/list" },
|
||||
{ text: "扫一扫", icon: "/static/icon/service_3.png", router: "" },
|
||||
{ text: "钱包管理", icon: "/static/icon/service_3.png", router: "/pages/wallet/list" },
|
||||
// { text: "包厢预定", icon: "/static/icon/service_4.png", router: "/pages/boxes/apply-list" },
|
||||
// { text: "外来人员就餐", icon: "/static/icon/service_1.png", router: "/pages/apply/foreign-list" },
|
||||
@@ -200,6 +200,20 @@ const onTabMenu = async (v: MenuItem, i: number) => {
|
||||
}
|
||||
}
|
||||
|
||||
dd.ready(function () {
|
||||
dd.confirm({
|
||||
message: "2022年亚运会在哪里举办",
|
||||
title: "提问",
|
||||
buttonLabels: ["杭州", "上海"],
|
||||
})
|
||||
.then((res) => {
|
||||
console.log(res)
|
||||
})
|
||||
.catch((err) => {
|
||||
console.error(err)
|
||||
})
|
||||
})
|
||||
|
||||
const getStorageUserInfo = () => {
|
||||
const tokenKey = constant.storageConstant.TOKEN
|
||||
const userInfoKey = constant.storageConstant.USERINFO
|
||||
@@ -225,23 +239,6 @@ onLoad(() => {
|
||||
onShow(() => {
|
||||
getStorageUserInfo()
|
||||
})
|
||||
|
||||
// {
|
||||
// "accessToken": {
|
||||
// "tokenValue": "06d43795-a3ef-4019-a70f-25830e7183a4",
|
||||
// "issuedAt": "2025-01-24T11:10:30.423604599Z",
|
||||
// "expiresAt": "2025-01-25T11:10:30.423604599Z",
|
||||
// "tokenType": {
|
||||
// "value": "Bearer"
|
||||
// },
|
||||
// "scopes": []
|
||||
// },
|
||||
// "refreshToken": {
|
||||
// "tokenValue": "FmRVP4l3d7t3263h9LeKnV8hdU0lPasMuI1wank_EbylRQPNLm7XP4_OtUV-zH9AbMZc9f14Qk2IXhw-33fWMGGKipVY8crbvVyWV5DeAcfeU8fYyQuNDh9rw3Dq0w75",
|
||||
// "issuedAt": "2025-01-24T11:10:30.423699280Z",
|
||||
// "expiresAt": "2025-01-31T11:10:30.423699280Z"
|
||||
// }
|
||||
// }
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
Reference in new issue
Block a user