Commit 65aac496 by Lin

fix: 修改为引用变量

1 parent 5dad50e0
......@@ -85,13 +85,13 @@
"*.json": "jsonc",
"package.json": "json"
},
// 控制文件浏览器中哪些文件/文件夹应该隐藏
"files.exclude": {
"**/.eslintcache": true,
"**/bower_components": true,
"**/.turbo": true,
"**/.idea": true,
"**/.vitepress": true,
"**/.vitepress": false,
"**/tmp": true,
"**/.git": true,
"**/.svn": true,
......
......@@ -168,7 +168,7 @@ const handleCurrentChange = (val) => {
<template>
<div class="min-h-screen bg-white p-5">
<!-- 1. 顶部标题 -->
<h2 class="mb-5 text-lg font-semibold text-[#303133]">岗位助理配置测试</h2>
<h2 class="mb-5 text-lg font-semibold text-[#303133]">岗位助理配置</h2>
<!-- 2. 搜索区域 -->
<div class="mb-5">
......
......@@ -343,9 +343,9 @@ router.beforeEach(async (to, _from, next) => {
* 全局后置守卫
*/
router.afterEach((to, from) => {
// console.log('[路由] afterEach', to, from);
console.log('[路由] afterEach', to, from);
// 路由跳转完成后的处理
// console.log(`[路由] 从 ${from.path} 跳转到 ${to.path}`);
console.log(`[路由] 从 ${from.path} 跳转到 ${to.path}`);
});
/**
......
......@@ -16,15 +16,19 @@ export default defineConfig({
nav: [
{ text: '首页', link: '/' },
{ text: '指南', link: '/guide/introduction' },
{ text: '框架指南', link: '/guide/introduction' },
{ text: '微前端指南', link: '/micro/introduction' },
{ text: '组件', link: '/components/overview' },
{ text: 'API', link: '/api/core' },
{
text: '相关链接',
items: [
{
text: 'GitHub',
link: 'https://github.com/venusjs/vue-venus-admin',
text: 'GitLab',
link: 'http://192.168.3.233:8090/monorepo/venus.git',
},
{
text: 'glsk-toolkit',
link: 'http://192.168.3.233:8090/npm/glsk-toolkit',
},
{ text: '更新日志', link: '/changelog' },
],
......
......@@ -26,10 +26,6 @@ pnpm preview
docs/
├── .vitepress/ # VitePress 配置
│ └── config.ts # 配置文件
├── guide/ # 指南
│ ├── introduction.md # 简介
│ ├── quick-start.md # 快速开始
│ └── ...
├── components/ # 组件文档
│ ├── overview.md # 组件总览
│ ├── form.md # 表单组件
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!