|
@@ -409,13 +409,11 @@
|
|
|
}
|
|
|
|
|
|
const isLogin = computed(() => {
|
|
|
- return authStore.isAuthenticated ? true : false
|
|
|
- // return getToken() ? true : false
|
|
|
+ return authStore.token ? true : false
|
|
|
})
|
|
|
|
|
|
onShow(() => {
|
|
|
user.value = authStore.userInfo
|
|
|
- console.log(authStore.userInfo)
|
|
|
getCreditCard().then(res => {
|
|
|
if (res && res.message === 'success') {
|
|
|
creditCard.value = res.data
|