Commit 1fcf6520 authored by 涂茜's avatar 涂茜

fix: bug

parent abdebee3
Pipeline #27273 failed with stages
in 15 seconds
...@@ -102,7 +102,7 @@ export default { ...@@ -102,7 +102,7 @@ export default {
'/extend-components': [ '/extend-components': [
{ {
title: 'base', title: 'base',
children: ['EC-DeviceTree', 'EC-QuotaSelect'], children: ['EC_DeviceTree', 'EC_QuotaSelect'],
}, },
], ],
}, },
......
# `@wisdom-components/ec-devicetree` # `@wisdom-components/ec_devicetree`
> TODO: description > TODO: description
## Usage ## Usage
``` ```
const ECDeviceTree = require('@wisdom-components/ec-devicetree'); const ECDeviceTree = require('@wisdom-components/ec_devicetree');
// TODO: DEMONSTRATE API // TODO: DEMONSTRATE API
``` ```
{ {
"name": "@wisdom-components/ec-devicetree", "name": "@wisdom-components/ec_devicetree",
"version": "1.0.0", "version": "1.0.0",
"description": "> TODO: description", "description": "> TODO: description",
"author": "tuqian <webtuqian@163.com>", "author": "tuqian <webtuqian@163.com>",
......
--- ---
title: EC-DeviceTree - 设备树 title: EC_DeviceTree - 设备树
nav: nav:
title: 业务组件 title: 业务组件
path: /extend-components path: /extend-components
......
# `@wisdom-components/EC-QuotaSelect` # `@wisdom-components/ec_quotaselect`
> TODO: description > TODO: description
## Usage ## Usage
``` ```
const ecQuotaSelect = require('@wisdom-components/EC-QuotaSelect'); const ECQuotaSelect = require('@wisdom-components/ec_quotaselect');
// TODO: DEMONSTRATE API // TODO: DEMONSTRATE API
``` ```
{ {
"name": "@wisdom-components/ec-quotaselect", "name": "@wisdom-components/ec_quotaselect",
"version": "1.0.0", "version": "1.0.0",
"description": "> TODO: description", "description": "> TODO: description",
"author": "tuqian <webtuqian@163.com>", "author": "tuqian <webtuqian@163.com>",
"homepage": "", "homepage": "",
"license": "ISC", "license": "ISC",
"main": "lib/EC-QuotaSelect.js", "main": "lib/index.js",
"directories": { "directories": {
"lib": "lib", "lib": "lib",
"test": "__tests__" "test": "__tests__"
......
...@@ -101,12 +101,7 @@ const Demo = () => { ...@@ -101,12 +101,7 @@ const Demo = () => {
<> <>
<h3>无 user, 无“保存修改”按钮</h3> <h3>无 user, 无“保存修改”按钮</h3>
<PandaQuotaSelect <PandaQuotaSelect
buttonProps={ buttonProps={{}}
{
// icon: <UnorderedListOutlined />,
// children: `指标选择(${selectData.length})`,
}
}
deviceList={deviceList} deviceList={deviceList}
quotaListService={getQuotaList} quotaListService={getQuotaList}
pointType={pointType} pointType={pointType}
...@@ -119,12 +114,7 @@ const Demo = () => { ...@@ -119,12 +114,7 @@ const Demo = () => {
<br /> <br />
<h3>带 user, 有“保存修改”按钮</h3> <h3>带 user, 有“保存修改”按钮</h3>
<PandaQuotaSelect <PandaQuotaSelect
buttonProps={ buttonProps={{}}
{
// icon: <UnorderedListOutlined />,
// children: `指标选择(${selectData.length})`,
}
}
deviceList={deviceList} deviceList={deviceList}
quotaListService={getQuotaList} quotaListService={getQuotaList}
updateDeviceConfService={updateDeviceConfService} updateDeviceConfService={updateDeviceConfService}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment