|
@@ -48,11 +48,17 @@ import { ref } from 'vue'
|
|
|
import { timesTampChange } from '@/utils/date'
|
|
|
import { FenYuanTransform } from '@/utils/position'
|
|
|
import { getUserWalletRechargePage } from '@/api/recruit/personal/myWallet.js'
|
|
|
+import { useUserStore } from '@/store/user'
|
|
|
|
|
|
const tab = ref('rechargeDetails')
|
|
|
|
|
|
+const userStore = useUserStore()
|
|
|
const userAccount = ref(JSON.parse(localStorage.getItem('userAccount')) || {}) // 账户信息
|
|
|
|
|
|
+userStore.$subscribe((mutation, state) => {
|
|
|
+ if (Object.keys(state.userAccount).length) userAccount.value = state.userAccount
|
|
|
+})
|
|
|
+
|
|
|
const total = ref(0)
|
|
|
const query = ref({
|
|
|
pageNo: 1,
|