Merge branch 'sophie' into dev

This commit is contained in:
sophie committed 2026-04-27 18:38:22 +08:00
commit 550aeb0d6c
22 files changed
+1537 -39

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
node_modules
dist
.npm-cache
.git
.vscode
+10 -7
View File
@@ -1,12 +1,15 @@
FROM node:22-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build
FROM nginx:alpine
# 复制自定义 Nginx 配置
COPY nginx.conf /etc/nginx/conf.d/default.conf
# 复制构建好的静态资源
# 注意:在本地先执行 npm run build,然后将 dist 目录提交或在部署脚本中生成
COPY dist /usr/share/nginx/html
COPY --from=builder /app/dist /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
CMD ["nginx", "-g", "daemon off;"]
+1 -1
View File
@@ -18,7 +18,7 @@ const count = ref(0)
</div>
<p>
Check out
Check out
<a href="https://vuejs.org/guide/quick-start.html#local" target="_blank"
>create-vue</a
>, the official Vue + Vite starter
+1
View File
@@ -8,6 +8,7 @@
* 逻辑关系:
* - 通过 /api/admin/agents 管理 Agent 配置
* - 通过 /api/admin/users 与 /permissions 管理用户可访问的 Agent
* - 这个界面需要优化,进入管理台页面会请求所有接口数据,其实只需要请求dashboard数据
*/
import { ref, onMounted, watch, computed } from 'vue';
import { useRouter } from 'vue-router';