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
c9e02b1d
Commit
c9e02b1d
authored
May 10, 2021
by
邓晓峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: test release
parent
8a4f9a9c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
index.js
packages/extend-components/EC_DeviceTree/src/index.js
+1
-1
release.js
scripts/release.js
+2
-3
No files found.
packages/extend-components/EC_DeviceTree/src/index.js
View file @
c9e02b1d
...
...
@@ -22,7 +22,7 @@ const DeviceTree = (props) => {
const
[
treeData
,
setTreeData
]
=
useState
([]);
const
[
params
,
setParams
]
=
useState
({});
const
noop
=
()
=>
{
console
.
log
(
'noop12'
);
console
.
log
(
'noop12
3
'
);
};
useEffect
(()
=>
{
const
param
=
{
...
...
scripts/release.js
View file @
c9e02b1d
...
...
@@ -29,9 +29,8 @@ async function release() {
const
locMap
=
{};
pkgList
.
forEach
((
item
)
=>
{
const
location
=
item
.
location
.
split
(
sep
);
locMap
[
location
[
location
.
length
-
1
]]
=
`
${
location
[
location
.
length
-
2
]}
/
${
location
[
location
.
length
-
1
]
}
`
;
const
componentName
=
item
.
name
.
split
(
'/'
)[
1
];
locMap
[
componentName
]
=
`
${
location
[
location
.
length
-
2
]}
/
${
location
[
location
.
length
-
1
]}
`
;
});
console
.
log
(
locMap
);
// Check git status
...
...
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