XIGUASSR
2022-11-11 cc0a3ae1b6e72ddfdcedfca3c4cfb9ed57b41b73
src/router/index.js
@@ -50,6 +50,12 @@
import KLine from '@/page/kline/index.vue'
import TradingBuy from '@/page/trading/buy.vue'
import NewUser from '@/page/newUser/index.vue'
import Wallet from '@/page/wallet/index.vue';
import TransferRecord from '@/page/transferRecord/index.vue'
import CashWithdrawalRecord from '@/page/cashWithdrawalRecord/index.vue'
import Transfers from '@/page/transfer/index.vue'
import Authentications from '@/page/authentication/index.vue'
import BankCard from '@/page/bankCard/index.vue'
Vue.use(Router)
@@ -636,6 +642,77 @@
      component: NewUser
    },
    {
      path: '/wallet',
      name: 'Wallet',
      meta: {
        title: '图标',
        requireAuth: false,
        hasHeader: false,
        index: 52,
      },
      component: Wallet
    },
    {
      path: '/transferRecord',
      name: 'transferRecord',
      meta: {
        title: '图标',
        requireAuth: false,
        hasHeader: false,
        index: 53,
        show: true
      },
      component: TransferRecord
    },
    {
      path: '/cashWithdrawalRecord',
      name: 'cashWithdrawalRecord',
      meta: {
        title: '图标',
        requireAuth: false,
        hasHeader: false,
        index: 54,
        show: true
      },
      component: CashWithdrawalRecord
    },
    {
      path: '/transfers',
      name: 'transfers',
      meta: {
        title: '图标',
        requireAuth: false,
        hasHeader: false,
        index: 55,
        show: true
      },
      component: Transfers
    },
    {
      path: '/authentications',
      name: 'authentications',
      meta: {
        title: '图标',
        requireAuth: false,
        hasHeader: false,
        index: 56,
        show: true
      },
      component: Authentications
    },
    {
      path: '/bankCard',
      name: 'bankCard',
      meta: {
        title: '图标',
        requireAuth: false,
        hasHeader: false,
        index: 57,
        show: true
      },
      component: BankCard
    },
    {
      // 会匹配所有路径
      path: '*',
      redirect: '/home'