diff --git a/.env b/.env
index f84a78f..2ea954c 100644
--- a/.env
+++ b/.env
@@ -6,7 +6,7 @@ VITE_TITLE = 绝弹管理后台
# 网站副标题
VITE_SUBTITLE = 快速开发web应用的模板工具
# 接口前缀 说明:参见 axios 的 baseURL
-VITE_API = http://127.0.0.1:3030/
+VITE_API = https://nest.dev.juetan.cn/
# =====================================================================================
# 开发设置
diff --git a/src/pages/my/dev.vue b/src/pages/my/dev.vue
index cec537e..0bc5579 100644
--- a/src/pages/my/dev.vue
+++ b/src/pages/my/dev.vue
@@ -1,66 +1,76 @@
-
- 打开
-
-
-
-
-
-
- {{ route.description }}
-
-
-
-
-
-
- {{ route.description }}
-
-
-
-
-
-
- {{ route.description }}
-
-
-
-
-
-
- {{ route.description }}
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ {{ route.description }}
+
+
+
+
+
+
+ {{ route.description }}
+
+
+
+
+
+
+ {{ route.description }}
+
+
+
+
+
+
+ {{ route.description }}
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/my/editor.vue b/src/pages/my/editor.vue
index 0876cb9..e4fbb4c 100644
--- a/src/pages/my/editor.vue
+++ b/src/pages/my/editor.vue
@@ -1,20 +1,14 @@
-
-
-
+
diff --git a/src/pages/my/page.ejs b/src/pages/my/page.ejs
index cd2c72b..b5b0e03 100644
--- a/src/pages/my/page.ejs
+++ b/src/pages/my/page.ejs
@@ -10,7 +10,7 @@ import { createColumn, updateColumn, useAniTable } from "@/components";
const [aniTable, aniCtx] = useAniTable({
data: async (model, paging) => {
- return api.<%= tag %>.<%= operationId %>({ ...model, ...paging });
+ return api.<%= select.tag %>.<%= operationId %>({ ...model, ...paging });
},
columns: [
{
@@ -65,22 +65,24 @@ const [aniTable, aniCtx] = useAniTable({
class: "!grid grid-cols-2 gap-x-6",
},
items: [
+ <%_ for(const item of create.bodyParams) { _%>
{
- field: "username",
- label: "登录账号",
- type: "input",
- required: true,
+ field: "<%= item.name %>",
+ label: "<%= item.description %>",
+ type: "<%= item.type %>",
+ required: <%= item.required %>,
},
+ <%_ } _%>
],
submit: ({ model }) => {
- return api.<%= tag %>.<%= operationId %>(model);
+ return api.<%= create.tag %>.<%= create.operationId %>(model);
},
},
modify: {
extend: true,
title: "修改用户",
submit: ({ model }) => {
- return api.<%= tag %>.<%= operationId %>(model.id, model);
+ return api.<%= modify.tag %>.<%= modify.operationId %>(model.id, model);
},
},
});
diff --git a/src/pages/post/media/index.vue b/src/pages/post/media/index.vue
index 04411a4..a88f5e3 100644
--- a/src/pages/post/media/index.vue
+++ b/src/pages/post/media/index.vue
@@ -70,14 +70,6 @@ const table = useTable({
{
title: "文件名称",
dataIndex: "name",
- // render: ({ record }) => {
- // return (
- //
- //
- // {record.name}
- //
- // );
- // },
render({ record }) {
return (