diff --git a/.env b/.env index 2ea954c..f84a78f 100644 --- a/.env +++ b/.env @@ -6,7 +6,7 @@ VITE_TITLE = 绝弹管理后台 # 网站副标题 VITE_SUBTITLE = 快速开发web应用的模板工具 # 接口前缀 说明:参见 axios 的 baseURL -VITE_API = https://nest.dev.juetan.cn/ +VITE_API = http://127.0.0.1:3030/ # ===================================================================================== # 开发设置 diff --git a/src/pages/post/media/components/group.vue b/src/pages/post/media/components/group.vue new file mode 100644 index 0000000..e735523 --- /dev/null +++ b/src/pages/post/media/components/group.vue @@ -0,0 +1,136 @@ + + + + + + + + + + + + + + + + + {{ item.title }} + ({{ item.count }}) + + + + + + + + + + + + + + 修改 + + + + + + 删除 + + + + + + + + + + + + + diff --git a/src/pages/post/media/index.vue b/src/pages/post/media/index.vue index a100b2c..04411a4 100644 --- a/src/pages/post/media/index.vue +++ b/src/pages/post/media/index.vue @@ -1,54 +1,7 @@ - - - - - - - - - - - - - - - 日常素材 - (10) - - - - - - - - - - - - - - 修改 - - - - - - 删除 - - - - - - - - - + @@ -72,6 +25,7 @@ import { api } from "@/api"; import { Table, useAniFormModal, useTable } from "@/components"; import { dayjs } from "@/libs/dayjs"; import numeral from "numeral"; +import AniGroup from './components/group.vue'; import AniUpload from "./components/upload.vue"; const [typeModal, typeCtx] = useAniFormModal({