fix:修复header下拉菜单和外部页面菜单的文档链接 (#2500)

This commit is contained in:
nalomu 2023-01-18 11:16:15 +08:00 committed by GitHub
parent bb1fee5885
commit 7e77177ed8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 8 deletions

View File

@ -221,11 +221,11 @@ const linkRoute = {
name: 'Doc',
meta: {
title: 'routes.demo.iframe.doc',
frameSrc: 'https://vvbin.cn/doc-next/',
frameSrc: 'https://doc.vvbin.cn/',
},
},
{
path: 'https://vvbin.cn/doc-next/',
path: 'https://doc.vvbin.cn/',
name: 'DocExternal',
component: 'LAYOUT',
meta: {

View File

@ -21,7 +21,7 @@ const iframe: AppRouteModule = {
name: 'Doc',
component: IFrame,
meta: {
frameSrc: 'https://vvbin.cn/doc-next/',
frameSrc: 'https://doc.vvbin.cn/',
title: t('routes.demo.iframe.doc'),
},
},
@ -30,12 +30,12 @@ const iframe: AppRouteModule = {
name: 'Antv',
component: IFrame,
meta: {
frameSrc: 'https://2x.antdv.com/docs/vue/introduce-cn/',
frameSrc: 'https://www.antdv.com/docs/vue/introduce-cn/',
title: t('routes.demo.iframe.antv'),
},
},
{
path: 'https://vvbin.cn/doc-next/',
path: 'https://doc.vvbin.cn/',
name: 'DocExternal',
component: IFrame,
meta: {

View File

@ -2,7 +2,7 @@
export const GITHUB_URL = 'https://github.com/anncwb/vue-vben-admin';
// vue-vben-admin-next-doc
export const DOC_URL = 'https://vvbin.cn/doc-next/';
export const DOC_URL = 'https://doc.vvbin.cn/';
// site url
export const SITE_URL = 'https://vvbin.cn/next/';
export const SITE_URL = 'https://vben.vvbin.cn/';

View File

@ -22,7 +22,7 @@
import { useI18n } from '/@/hooks/web/useI18n';
import { useLoginState, LoginStateEnum } from './useLogin';
const qrCodeUrl = 'https://vvbin.cn/next/login';
const qrCodeUrl = 'https://vben.vvbin.cn/login';
const { t } = useI18n();
const { handleBackLogin, getLoginState } = useLoginState();