添加国内地址文档(感谢<https://yunkuangao.me/>提供支持)

This commit is contained in:
ray_wuhao 2023-02-03 21:27:15 +08:00
parent 60fc4685a5
commit 2274942154
5 changed files with 40 additions and 5 deletions

View File

@ -8,7 +8,8 @@
"scrollReveal": "Scroll Reveal",
"Axios": "Axios Request",
"Table": "Table",
"Doc": "Doc"
"Doc": "Doc",
"DocLocal": "Doc (China)"
},
"LayoutHeaderTooltipOptions": {
"Reload": "Reload Current Page",

View File

@ -8,7 +8,8 @@
"scrollReveal": "滚动动画",
"Axios": "请求",
"Table": "表格",
"Doc": "文档"
"Doc": "文档",
"DocLocal": "文档 (国内地址)"
},
"LayoutHeaderTooltipOptions": {
"Reload": "刷新当前页面",

View File

@ -27,13 +27,25 @@ const RayLink = defineComponent({
key: 'ray-js-note',
src: 'https://note.youdao.com/s/ObWEe2BB',
tooltip: 'Ray的前端学习笔记',
icon: 'https://avatars.githubusercontent.com/u/51957438?v=4',
icon: 'https://yunkuangao.com/images/longmao.jpeg',
},
{
key: 'ray-js-cover',
src: 'https://note.youdao.com/s/IC8xKPdB',
tooltip: 'Ray的面试题总结',
icon: 'https://avatars.githubusercontent.com/u/51957438?v=4',
icon: 'https://yunkuangao.com/images/longmao.jpeg',
},
{
key: 'ray-template-doc',
src: 'https://xiaodaigua-ray.github.io/ray-template-doc/',
tooltip: 'Ray Template Doc',
icon: 'https://yunkuangao.com/images/longmao.jpeg',
},
{
key: 'ray-template-doc-out',
src: 'https://ray.yunkuangao.com/ray-template-doc/',
tooltip: 'Ray Template Doc (国内地址)',
icon: 'https://yunkuangao.com/images/longmao.jpeg',
},
]

View File

@ -0,0 +1,10 @@
export default {
path: '/doc',
name: 'doc',
component: () => import('@/views/doc/index'),
meta: {
i18nKey: 'DocLocal',
icon: 'doc',
windowOpen: 'https://ray.yunkuangao.com/ray-template-doc/',
},
}

View File

@ -6,8 +6,19 @@ import scrollReveal from './scroll-reveal'
import axios from './axios'
import table from './table'
import doc from './doc'
import docLocal from './doc-local'
const routes = [dashboard, echart, table, axios, scrollReveal, error, doc, reyl]
const routes = [
dashboard,
echart,
table,
axios,
scrollReveal,
error,
doc,
docLocal,
reyl,
]
export default routes