lxf
2025-07-16 c6ccd498aa419327de7c64e03f989964eeb5d278
src/views/my/newindex.vue
@@ -67,7 +67,7 @@
import { useUserStore } from '@/store/user';
import { useI18n } from "vue-i18n";
import useClipboard from "vue-clipboard3";
import { showToast } from "vant";
import { showConfirmDialog } from 'vant';
import addBankIcon from '@/assets/image/userCenter/addBank.png'
import kycHighStatusIcon from '@/assets/image/userCenter/kycHighStatus.png'
import store from '@/store/store'
@@ -196,6 +196,10 @@
})
const loginOut = () => {
  showConfirmDialog({
    title: `${t('确认退出')}`,
    message: `${t('确定要退出登录吗?')}`
  }).then(() => {
  _logOut({
    token: userStore.userInfo.token
  }).then(res => {
@@ -203,6 +207,12 @@
    store.state.user.userInfo = {}
    router.push('/login')
  })
      .catch(err => {
        // showFailToast(`${t('退出失败,请重试')}`)
      })
  }).catch(() => {
    // 用户取消操作
  })
}
const getIdentify = () => {
  _getIdentify().then(data => {