Parcourir la source

fix(web): 将浏览器标签页标题设为运营管理系统

sy il y a 3 jours
Parent
commit
8e2388066c
2 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. 1 1
      web-scaffold/index.html
  2. 3 0
      web-scaffold/rsbuild.config.ts

+ 1 - 1
web-scaffold/index.html

@@ -8,7 +8,7 @@
       name="description"
       name="description"
       content="运营支撑系统前端登录入口"
       content="运营支撑系统前端登录入口"
     />
     />
-    <title>运营支撑系统</title>
+    <title>运营管理系统</title>
   </head>
   </head>
   <body>
   <body>
     <div id="root"></div>
     <div id="root"></div>

+ 3 - 0
web-scaffold/rsbuild.config.ts

@@ -38,6 +38,9 @@ function seoCtx() {
 
 
 export default defineConfig({
 export default defineConfig({
   plugins: [pluginReact(), pluginTailwindcss()],
   plugins: [pluginReact(), pluginTailwindcss()],
+  html: {
+    template: "./index.html",
+  },
   source: {
   source: {
     entry: {
     entry: {
       index: "./src/main.tsx",
       index: "./src/main.tsx",