Commit bb57afc8 authored by 陈龙's avatar 陈龙

feat: 修复依赖缺失的问题

parent 66bdcfd5
...@@ -103,6 +103,7 @@ export default { ...@@ -103,6 +103,7 @@ export default {
'DatePickerCustom', 'DatePickerCustom',
'SelectCustom', 'SelectCustom',
'TreeCustom', 'TreeCustom',
'AlarmScrollAssembly',
], ],
}, },
{ {
......
const proxyURL = process.env.PANDA_ENV_PROXY || 'http://192.168.10.150:8669'; const proxyURL = process.env.PANDA_ENV_PROXY || 'http://192.168.8.28:8911';
export default { export default {
'/api': { '/api': {
......
...@@ -134,7 +134,8 @@ ...@@ -134,7 +134,8 @@
"webpack-cli": "^4.5.0", "webpack-cli": "^4.5.0",
"write-pkg": "^4.0.0", "write-pkg": "^4.0.0",
"xhr-mock": "^2.5.1", "xhr-mock": "^2.5.1",
"yorkie": "^2.0.0" "yorkie": "^2.0.0",
"swiper": "^6.8.1"
}, },
"gitHooks": { "gitHooks": {
"pre-commit": "pretty-quick --staged", "pre-commit": "pretty-quick --staged",
......
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
"test": "echo \"Error: run tests from root\" && exit 1" "test": "echo \"Error: run tests from root\" && exit 1"
}, },
"dependencies": { "dependencies": {
"@babel/runtime": "^7.17.9" "@babel/runtime": "^7.17.9",
"swiper": "^6.8.1"
} }
} }
---
title: AlarmScrollAssembly - 滚动条
nav:
title: 基础组件
path: /components
group:
path: /
---
# `@wisdom-components/AlarmScrollAssembly`
> TODO: description
## Usage
```
const alarmScrollAssembly = require('@wisdom-components/AlarmScrollAssembly'); // 宽度为930px
// TODO: DEMONSTRATE API
```
<code src="./demos/index.js">
import React from 'react'; import React from 'react';
import AlarmScrollAssembly from '../index'; import AlarmScrollAssembly from '../index';
window.globalConfig = {
userInfo: { OID: 1 },
};
export default () => { export default () => {
return <AlarmScrollAssembly deviceType={'二供泵房,二供机组'} />; return <AlarmScrollAssembly deviceType={'二供泵房,二供机组'} />; // 最小宽度930px
}; };
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