From 8b127b10cf76462dcbdb60030ab09e54591fe19c Mon Sep 17 00:00:00 2001 From: wang_fan_w <2547096351@qq.com> Date: Thu, 25 Jul 2024 00:07:18 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=E7=94=9F=E4=BA=A7=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E8=B7=AF=E5=BE=84=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 2 +- src/directives/modules/custom.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.env.production b/.env.production index 59240f4..bbfa6b5 100644 --- a/.env.production +++ b/.env.production @@ -2,6 +2,6 @@ VITE_USER_NODE_ENV = production # 打包路径 (就是网站前缀, 例如部署到 http://dcodes.gitee.io/SnowAdmin/ 域名下, 就需要填写 /SnowAdmin/), 一般填一个斜杠 / -VITE_PUBLIC_PATH = '/SnowAdmin/' +VITE_PUBLIC_PATH = '/' VITE_GLOB_APP_TITLE = SnowAdmin diff --git a/src/directives/modules/custom.ts b/src/directives/modules/custom.ts index c6f423c..c88257a 100644 --- a/src/directives/modules/custom.ts +++ b/src/directives/modules/custom.ts @@ -1,7 +1,7 @@ import { Directive } from "vue"; const custom: Directive = { - mounted(el, binding, vnode) { + mounted(el, binding) { el.__onClick__ = () => { let { goodsId, event } = binding.value; event(goodsId); From c53f41c4eeb824b76ec11029724ed408a335674b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E9=A9=AC?= <2547096351@qq.com> Date: Thu, 25 Jul 2024 07:58:11 +0000 Subject: [PATCH 2/2] update README.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 王马 <2547096351@qq.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 17a3f4d..0059fab 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ SnowAdmin 一款基于 Vue3、TypeScript、Vite5、Pinia、Arco-Design 开源的 - 项目更新日志:建设中 -- 项目文档地址:建设中 +- 项目文档地址:http://101.126.93.137:81/ ### 项目功能 🔨