Skip to content

Commit

Permalink
docs: ✏️ 前端界面文档
Browse files Browse the repository at this point in the history
  • Loading branch information
longgui-penglei committed Apr 20, 2022
1 parent 53ea2a4 commit 776a9d4
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions docs/ 开发者指南/ 插件指南/前端界面.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@
```
[
{
name: "user_list",
title: "用户列表",
type: "table_page",
tag: "user_list",
name: "用户列表",
type: "table",
init: {
path: "/api/v1/tenant/{tenant_id}/users/",
method: "get",
Expand Down Expand Up @@ -123,9 +123,9 @@
]
},
{
name: "user_list_create",
title: "创建一个新的用户",
type: "form_page",
tag: "user_list_create",
name: "创建一个新的用户",
type: "form",
init: {
path: "/api/v1/tenant/{tenant_id}/users/",
method: "get",
Expand All @@ -151,8 +151,8 @@
]
},
{
name: "编辑该用户",
tag: "user_list_edit",
tag: "编辑该用户",
name: "user_list_edit",
type: "form",
init: {
path: "/api/v1/tenant/{tenant_id}/users/{id}/",
Expand Down Expand Up @@ -191,8 +191,8 @@

```
第一级:
name - 匹配路由页面和操作指向页面
title - 页面描述, 在前端展示为标题
tag - 匹配路由页面和操作指向页面
name - 页面描述, 在前端展示为标题
type - 前端页面类型
init - 初始化每一个tag页面时所需要的接口等内容, 包含path和method
global - 全局操作
Expand Down

0 comments on commit 776a9d4

Please sign in to comment.