mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-01-24 10:33:50 +08:00
fix:修复header下拉菜单和外部页面菜单的文档链接 (#2500)
This commit is contained in:
parent
bb1fee5885
commit
7e77177ed8
@ -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: {
|
||||
|
@ -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: {
|
||||
|
@ -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/';
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user