Commit 7e77177ed810e0d02ec35807c90448161095a033

Authored by nalomu
Committed by GitHub
1 parent bb1fee58

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

mock/sys/menu.ts
... ... @@ -221,11 +221,11 @@ const linkRoute = {
221 221 name: 'Doc',
222 222 meta: {
223 223 title: 'routes.demo.iframe.doc',
224   - frameSrc: 'https://vvbin.cn/doc-next/',
  224 + frameSrc: 'https://doc.vvbin.cn/',
225 225 },
226 226 },
227 227 {
228   - path: 'https://vvbin.cn/doc-next/',
  228 + path: 'https://doc.vvbin.cn/',
229 229 name: 'DocExternal',
230 230 component: 'LAYOUT',
231 231 meta: {
... ...
src/router/routes/modules/demo/iframe.ts
... ... @@ -21,7 +21,7 @@ const iframe: AppRouteModule = {
21 21 name: 'Doc',
22 22 component: IFrame,
23 23 meta: {
24   - frameSrc: 'https://vvbin.cn/doc-next/',
  24 + frameSrc: 'https://doc.vvbin.cn/',
25 25 title: t('routes.demo.iframe.doc'),
26 26 },
27 27 },
... ... @@ -30,12 +30,12 @@ const iframe: AppRouteModule = {
30 30 name: 'Antv',
31 31 component: IFrame,
32 32 meta: {
33   - frameSrc: 'https://2x.antdv.com/docs/vue/introduce-cn/',
  33 + frameSrc: 'https://www.antdv.com/docs/vue/introduce-cn/',
34 34 title: t('routes.demo.iframe.antv'),
35 35 },
36 36 },
37 37 {
38   - path: 'https://vvbin.cn/doc-next/',
  38 + path: 'https://doc.vvbin.cn/',
39 39 name: 'DocExternal',
40 40 component: IFrame,
41 41 meta: {
... ...
src/settings/siteSetting.ts
... ... @@ -2,7 +2,7 @@
2 2 export const GITHUB_URL = 'https://github.com/anncwb/vue-vben-admin';
3 3  
4 4 // vue-vben-admin-next-doc
5   -export const DOC_URL = 'https://vvbin.cn/doc-next/';
  5 +export const DOC_URL = 'https://doc.vvbin.cn/';
6 6  
7 7 // site url
8   -export const SITE_URL = 'https://vvbin.cn/next/';
  8 +export const SITE_URL = 'https://vben.vvbin.cn/';
... ...
src/views/sys/login/QrCodeForm.vue
... ... @@ -22,7 +22,7 @@
22 22 import { useI18n } from '/@/hooks/web/useI18n';
23 23 import { useLoginState, LoginStateEnum } from './useLogin';
24 24  
25   - const qrCodeUrl = 'https://vvbin.cn/next/login';
  25 + const qrCodeUrl = 'https://vben.vvbin.cn/login';
26 26  
27 27 const { t } = useI18n();
28 28 const { handleBackLogin, getLoginState } = useLoginState();
... ...