From 726036a7159be0bc107806c7acdec39001ce3e22 Mon Sep 17 00:00:00 2001 From: fengcheng <2929004360@qq.com> Date: Wed, 16 Apr 2025 16:29:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + vuepress/docs/.vuepress/.temp/internal/routes.js | 12 ++++++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 620cdbb..a393157 100644 --- a/.gitignore +++ b/.gitignore @@ -36,6 +36,7 @@ dist/ nbdist/ .nb-gradle/ snap/ +node_modules/ ###################################################################### # Others diff --git a/vuepress/docs/.vuepress/.temp/internal/routes.js b/vuepress/docs/.vuepress/.temp/internal/routes.js index 6e40215..797b658 100644 --- a/vuepress/docs/.vuepress/.temp/internal/routes.js +++ b/vuepress/docs/.vuepress/.temp/internal/routes.js @@ -2,8 +2,6 @@ export const redirects = JSON.parse("{}") export const routes = Object.fromEntries([ ["/get-started.html", { loader: () => import(/* webpackChunkName: "get-started.html" */"C:/Users/17988/Desktop/ruoyi/RuoYi-Wvp/vuepress/docs/.vuepress/.temp/pages/get-started.html.js"), meta: {"title":"Get Started"} }], - ["/", { loader: () => import(/* webpackChunkName: "index.html" */"C:/Users/17988/Desktop/ruoyi/RuoYi-Wvp/vuepress/docs/.vuepress/.temp/pages/index.html.js"), meta: {"title":"首页"} }], - ["/doc/", { loader: () => import(/* webpackChunkName: "doc_index.html" */"C:/Users/17988/Desktop/ruoyi/RuoYi-Wvp/vuepress/docs/.vuepress/.temp/pages/doc/index.html.js"), meta: {"title":"介绍"} }], ["/doc/kslj.html", { loader: () => import(/* webpackChunkName: "doc_kslj.html" */"C:/Users/17988/Desktop/ruoyi/RuoYi-Wvp/vuepress/docs/.vuepress/.temp/pages/doc/kslj.html.js"), meta: {"title":"1"} }], ["/404.html", { loader: () => import(/* webpackChunkName: "404.html" */"C:/Users/17988/Desktop/ruoyi/RuoYi-Wvp/vuepress/docs/.vuepress/.temp/pages/404.html.js"), meta: {"title":""} }], ]); @@ -24,3 +22,13 @@ if (import.meta.hot) { __VUE_HMR_RUNTIME__.updateRedirects(redirects) }) } +ts(redirects) + } +} + +if (import.meta.hot) { + import.meta.hot.accept(({ routes, redirects }) => { + __VUE_HMR_RUNTIME__.updateRoutes(routes) + __VUE_HMR_RUNTIME__.updateRedirects(redirects) + }) +}