diff --git a/.gitignore b/.gitignore index 3475c3fd..52261125 100644 --- a/.gitignore +++ b/.gitignore @@ -3,20 +3,27 @@ # ============================================ node_modules/ **/node_modules/ +# 子目录下 node_modules 内的缓存/预构建(避免被跟踪) +**/node_modules/.vite/ +**/node_modules/.cache/ # ============================================ # 环境变量(含敏感信息,勿提交) # ============================================ .env +.env.* .env.local .env.*.local .env.production .env.development -# 各子项目的环境变量 +.env.test +# 各子项目的环境变量(保留 env-template.txt 作为模板) server/.env admin/.env.local admin/.env miniprogram/.env +# 不忽略环境变量模板文件 +!**/env-template.txt # ============================================ # 构建产物 @@ -45,10 +52,12 @@ lerna-debug.log* # ============================================ .cache/ .vite/ +**/.vite/ .parcel-cache/ .eslintcache +.prettiercache *.local -# Vite 缓存 +# Vite 预构建与缓存 admin/.vite/ admin/node_modules/.vite/ @@ -66,6 +75,8 @@ uploads/* # ============================================ .idea/ .vscode/ +!.vscode/extensions.json +!.vscode/settings.json.example *.suo *.ntvs* *.njsproj @@ -77,6 +88,8 @@ uploads/* .project .classpath .settings/ +# Cursor +.cursor/ # ============================================ # 系统文件 @@ -104,11 +117,13 @@ playwright-report/ # ============================================ # 微信小程序 # ============================================ -# 微信开发者工具本地配置(含工具偏好设置) +# 微信开发者工具本地配置(含工具偏好、AppID 等,勿提交) miniprogram/project.private.config.json -# 小程序编译产物(如果有) +# 小程序 npm 构建产物 miniprogram/miniprogram_npm/ miniprogram/node_modules/ +# 小程序本地密钥/私密配置 +miniprogram/private/ # ============================================ # 临时文件 @@ -128,6 +143,16 @@ temp/ *.sqlite *.sqlite3 +# ============================================ +# 密钥与证书 +# ============================================ +*.pem +*.key +*.crt +*.p12 +*.pfx +secrets/ + # ============================================ # 其他 # ============================================ @@ -135,3 +160,5 @@ temp/ # package-lock.json # yarn.lock # pnpm-lock.yaml +# 对话/代理生成目录(若存在) +agent-transcripts/ diff --git a/admin/src/router/index.js b/admin/src/router/index.js index ca9b35e5..dc4d70c7 100644 --- a/admin/src/router/index.js +++ b/admin/src/router/index.js @@ -23,7 +23,7 @@ const routes = [ path: "users", name: "Users", component: () => import("@/views/user/index.vue"), - meta: { title: "用户管理", icon: "User", superAdmin: true }, + meta: { title: "用户管理", icon: "User" }, }, { path: "stores", diff --git a/admin/src/views/dashboard/index.vue b/admin/src/views/dashboard/index.vue index 3bf39ab8..e1a58dcf 100644 --- a/admin/src/views/dashboard/index.vue +++ b/admin/src/views/dashboard/index.vue @@ -51,15 +51,15 @@ 扫码核销 -
+
天梯大屏(蓝)
-
+
天梯大屏(橙)
-
+
天梯汇总大屏
@@ -273,12 +273,29 @@