Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jun85.li committed Jan 10, 2020
1 parent 727d692 commit 768bf55
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/zh-CN/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ module.exports = {
},
{
text: '示例',
link: '/example/'
link: '/example/#/'
},
{
text: '版本更新',
Expand Down
4 changes: 2 additions & 2 deletions docs/zh-CN/api/block.md
Original file line number Diff line number Diff line change
Expand Up @@ -360,15 +360,15 @@ operations: {

```
参数说明
- `actionField`:对应blocks中的events名字,详细用法参考:[event 与 action](./action.md)
- `actionField`:对应blocks中的events名字,详细用法参考:[event 与 action](/block/action.html)
- `event`:指定调用event名,优先级大于 actionField
- `slot`:指定operation所在插槽,如list支持 `searchs``multipleSelect` 定制搜索操作和多选操作
- `field`:指定使用的field配置,使用String刚会使用本block内同名的field配置
- `props`:透传至operation根节点的props配置
- `style`:透传至operation根节点的style配置
- `show`:满足show条件的才会显示,在list内是该行的值,在form内是data的值,如`show:{name:'test',value:2}` 当这一行的name字段的值为2时该operation会显示

点击前往[更深入的了解operations](/api/operation.html)
点击前往[更深入的了解operations](/block/deep-operation.html)

## props 属性、on 事件、style 样式的定制

Expand Down
2 changes: 1 addition & 1 deletion docs/zh-CN/api/resource.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ ams.resource('demo-resource', {

- `api`: 对resource的一些内置方法,`prefix`为接口地址,目前提供了`create` `update` `read` `delete` `list` 几个内置请求方法

- `fields`: resource里的详细的字段描述,点击前往[更深入的了解fields](/api/field.html)
- `fields`: resource里的详细的字段描述,点击前往[更深入的了解fields](/field/)

#### field通用配置

Expand Down

0 comments on commit 768bf55

Please sign in to comment.