Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wisdom-components
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
wisdom-components
Commits
bb57afc8
Commit
bb57afc8
authored
Dec 22, 2022
by
陈龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 修复依赖缺失的问题
parent
66bdcfd5
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
32 additions
and
4 deletions
+32
-4
config.js
config/config.js
+1
-0
proxy.js
config/proxy.js
+1
-1
package.json
package.json
+2
-1
package.json
packages/base-components/AlarmScrollAssembly/package.json
+2
-1
AlarmScrollAssembly.md
...components/AlarmScrollAssembly/src/AlarmScrollAssembly.md
+22
-0
index.js
...es/base-components/AlarmScrollAssembly/src/demos/index.js
+4
-1
No files found.
config/config.js
View file @
bb57afc8
...
...
@@ -103,6 +103,7 @@ export default {
'DatePickerCustom'
,
'SelectCustom'
,
'TreeCustom'
,
'AlarmScrollAssembly'
,
],
},
{
...
...
config/proxy.js
View file @
bb57afc8
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
{
'/api'
:
{
...
...
package.json
View file @
bb57afc8
...
...
@@ -134,7 +134,8 @@
"
webpack-cli
"
:
"^4.5.0"
,
"
write-pkg
"
:
"^4.0.0"
,
"
xhr-mock
"
:
"^2.5.1"
,
"
yorkie
"
:
"^2.0.0"
"
yorkie
"
:
"^2.0.0"
,
"
swiper
"
:
"^6.8.1"
},
"gitHooks"
:
{
"pre-commit"
:
"pretty-quick --staged"
,
...
...
packages/base-components/AlarmScrollAssembly/package.json
View file @
bb57afc8
...
...
@@ -32,6 +32,7 @@
"test"
:
"echo
\"
Error: run tests from root
\"
&& exit 1"
},
"dependencies"
:
{
"@babel/runtime"
:
"^7.17.9"
"@babel/runtime"
:
"^7.17.9"
,
"swiper"
:
"^6.8.1"
}
}
packages/base-components/AlarmScrollAssembly/src/AlarmScrollAssembly.md
0 → 100644
View file @
bb57afc8
---
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"
>
packages/base-components/AlarmScrollAssembly/src/demos/index.js
View file @
bb57afc8
import
React
from
'react'
;
import
AlarmScrollAssembly
from
'../index'
;
window
.
globalConfig
=
{
userInfo
:
{
OID
:
1
},
};
export
default
()
=>
{
return
<
AlarmScrollAssembly
deviceType
=
{
'二供泵房,二供机组'
}
/>
;
return
<
AlarmScrollAssembly
deviceType
=
{
'二供泵房,二供机组'
}
/>;
/
/
最小宽度
930
px
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment