Skip to content

Commit

Permalink
fix(tabs): yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
changpei committed Mar 4, 2024
1 parent 7c05b24 commit 12668e7
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 14 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"screenshot": "node bin/screenshot",
"genThemeConfig": "node ./scripts/genThemeConfig/index.js",
"deploy:dev": "lcap deploy dist-theme --platform http://defaulttenant.lcap.dev.env.com && node bin/deploy-lcp-images --platform=http://defaulttenant.lcap.dev.env.com",
"deploy:test": "lcap deploy dist-theme --platform http://defaulttenant.lcap.ha.test.com && node bin/deploy-lcp-images --platform=http://defaulttenant.lcap.ha.test.com",
"deploy:test": "lcap deploy dist-theme --platform https://defaulttenant.lcap.codewave-test.163yun.com && node bin/deploy-lcp-images --platform=https://defaulttenant.lcap.codewave-test.163yun.com",
"deploy:test-ga": "lcap deploy dist-theme --platform http://defaulttenant.lcap.codewave-test.163yun.com && node bin/deploy-lcp-images --platform=http://defaulttenant.lcap.codewave-test.163yun.com",
"deploy:pre": "lcap deploy dist-theme --platform https://defaulttenant.lcap.hadri.163yun.com && node bin/deploy-lcp-images --platform=https://defaulttenant.lcap.hadri.163yun.com",
"deploy:online": "lcap deploy dist-theme --platform http://netease-template.lcap.163yun.com && node bin/deploy-lcp-images --platform=http://netease-template.lcap.163yun.com",
Expand Down
29 changes: 16 additions & 13 deletions src/tabs/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,27 @@
sync: true
model: true
description: 选中标签页的值。
- name: dataSource
group: 数据属性
- name: data-source
title: 数据源
type: any
sync: true
model: true
description: 展示数据的输入源,可设置为集合类型变量(List<T>)或输出参数为集合类型的逻辑 。
- name: textField
type: Array<Item> | Function | object
designer-value: '[{}, {}, {}]'
description: 展示数据的输入源,可设置为集合类型变量(List<T>)或输出参数为集合类型的逻辑
group: 数据属性
- name: text-field
title: 标签项标题
type: any
sync: true
model: true
type: string
description: 数据源集合的元素,用于显示标签标题的属性
- name: urlField
default: text
group: 数据属性
display: property-select
- name: url-field
title: 标签项内容值字段
type: any
sync: true
model: true
type: string
description: 数据源集合的元素,用于标识当前打开的标签项
default: url
group: 数据属性
display: property-select
- name: disabled
title: 禁用
type: boolean
Expand Down

0 comments on commit 12668e7

Please sign in to comment.