huzheng12
2024-05-03 5f645734b032f744a8d76dc06a3593c5c4f749d4
src/router/router.js
@@ -1377,7 +1377,8 @@
    // 判断该路由是否需要登录权限
    if (store.state.user.userInfo.token) {
      // 通过vuex state获取当前的token是否存在
      if (to.meta.kyc && store.state.user.userInfo.kyc !== 2) {
      if (to.meta.kyc && store.state.user.kyc !== 2) {
        return Toast.fail(i18n.t("请先实名认证!"));
      }
      if (to.meta.isMerchant) {