From 2ba59e39a2600f997f650b91073dc099407b5b06 Mon Sep 17 00:00:00 2001 From: wang_fan_w <2547096351@qq.com> Date: Sat, 20 Jul 2024 10:59:04 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=A1=B9=E7=9B=AE=E5=90=8D=E7=A7=B0?= =?UTF-8?q?=E5=92=8Cgit=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 4 ++-- README.md | 4 ++-- package.json | 2 +- pnpm-lock.yaml | 3 --- .../components/Header/components/header-right/index.vue | 2 +- src/store/modules/theme-config.ts | 2 +- src/views/about-project/about-project.vue | 2 +- src/views/form-management/step-form/step-form.vue | 4 ++-- 8 files changed, 10 insertions(+), 13 deletions(-) diff --git a/.env.production b/.env.production index 0387852..276f8f5 100644 --- a/.env.production +++ b/.env.production @@ -1,5 +1,5 @@ # 生产环境 VITE_USER_NODE_ENV = production -# 打包路径 (就是网站前缀, 例如部署到 http://dcodes.gitee.io/dc-admin/ 域名下, 就需要填写 /dc-admin/), 一般填一个斜杠 / -VITE_PUBLIC_PATH = '/dc-admin/' \ No newline at end of file +# 打包路径 (就是网站前缀, 例如部署到 http://dcodes.gitee.io/snow-admin/ 域名下, 就需要填写 /snow-admin/), 一般填一个斜杠 / +VITE_PUBLIC_PATH = '/snow-admin/' \ No newline at end of file diff --git a/README.md b/README.md index b4890b9..c8474df 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ SnowAdmin 一款基于 Vue3、TypeScript、Vite5、Pinia、Arco-Design 开源的 ### 代码仓库 ⭐ -- Gitee:https://gitee.com/wang_fan_w/dc-admin +- Gitee:https://gitee.com/wang_fan_w/SnowAdmin ### 项目文档 📚 @@ -36,7 +36,7 @@ SnowAdmin 一款基于 Vue3、TypeScript、Vite5、Pinia、Arco-Design 开源的 ```text # Gitee -git clone https://gitee.com/wang_fan_w/dc-admin.git +git clone https://gitee.com/wang_fan_w/SnowAdmin.git ``` - **Install:** diff --git a/package.json b/package.json index 7c48708..5d34470 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "dc-admin", + "name": "snow-admin", "private": true, "version": "0.0.0", "type": "module", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2fc1672..0bd29fc 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -41,9 +41,6 @@ importers: codemirror: specifier: ^6.0.1 version: 6.0.1(@lezer/common@1.2.1) - dc-admin: - specifier: 'link:' - version: 'link:' nprogress: specifier: ^0.2.0 version: 0.2.0 diff --git a/src/layout/components/Header/components/header-right/index.vue b/src/layout/components/Header/components/header-right/index.vue index 5d8abcb..a2b26b0 100644 --- a/src/layout/components/Header/components/header-right/index.vue +++ b/src/layout/components/Header/components/header-right/index.vue @@ -178,7 +178,7 @@ const onUpdate = () => { // 项目地址 const onProject = () => { - window.open("https://gitee.com/wang_fan_w/dc-admin", "_blank"); + window.open("https://gitee.com/wang_fan_w/SnowAdmin", "_blank"); }; // 退出登录 diff --git a/src/store/modules/theme-config.ts b/src/store/modules/theme-config.ts index aaf4ac9..7cd5496 100644 --- a/src/store/modules/theme-config.ts +++ b/src/store/modules/theme-config.ts @@ -39,7 +39,7 @@ export const useThemeConfig = defineStore("theme-config", { isBreadcrumb: true, // 面包屑渲染 isTabs: true, // 标签栏渲染 isFooter: true, // 页脚渲染 - watermark: "dc admin", // 水印 + watermark: "SnowAdmin", // 水印 watermarkStyle: { fontSize: 12, color: "rgba(0, 0, 0, 0.15)" diff --git a/src/views/about-project/about-project.vue b/src/views/about-project/about-project.vue index f82b824..df80ba3 100644 --- a/src/views/about-project/about-project.vue +++ b/src/views/about-project/about-project.vue @@ -2,7 +2,7 @@
-

dc-admin 一款基于 Vue、TypeScript、Vite5、Pinia、arco-design开源的后台管理框架,使用目前最新技术栈开发。

+

SnowAdmin 一款基于 Vue、TypeScript、Vite5、Pinia、arco-design开源的后台管理框架,使用目前最新技术栈开发。

融合了全新的UI框架,高度可自定义的主题功能使得用户可以根据自身需求轻松定制界面。

代码全注释,可提供参考和学习。

diff --git a/src/views/form-management/step-form/step-form.vue b/src/views/form-management/step-form/step-form.vue index 9994cb4..a38dfa0 100644 --- a/src/views/form-management/step-form/step-form.vue +++ b/src/views/form-management/step-form/step-form.vue @@ -29,7 +29,7 @@
@@ -97,7 +97,7 @@ const form = ref({ name: "", type: null, date: [], - address: "https://gitee.com/wang_fan_w/dc-admin", + address: "https://gitee.com/wang_fan_w/SnowAdmin", source: "", medium: "", keyword: [],