Forráskód Böngészése

左侧个人中心personCenter已经查询了账户信息,再次请求会重复请求

lifanagju_citu 6 hónapja
szülő
commit
3c8cd9aa03

+ 6 - 6
src/views/recruit/personal/PersonalCenter/wallet/index.vue

@@ -15,16 +15,16 @@
 defineOptions({ name: 'person-center-wallet'})
 import myBalance from './myBalance'
 import IntegralPage from '@/views/integral/pointsManagement'
-import { useUserStore } from '@/store/user'
+// import { useUserStore } from '@/store/user'
 import { ref } from 'vue'
 
 const tab = ref(0)
 
-const store = useUserStore()
-const updateAccountInfo = async () => {
-  await store.getUserAccountInfo()
-}
-updateAccountInfo()
+// const store = useUserStore()
+// const updateAccountInfo = async () => {
+//   await store.getUserAccountInfo()
+// }
+// updateAccountInfo()
 
 </script>