Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivManage
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
CivManage
Commits
44b24646
Commit
44b24646
authored
Dec 10, 2020
by
Maofei94
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 抽屉隐藏
parent
e360af3c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
index.tsx
src/components/Upload/index.tsx
+1
-1
index.js
src/pages/webConfig/index.js
+1
-0
webMenu.jsx
src/pages/webConfig/menuconfig/webMenu.jsx
+0
-2
No files found.
src/components/Upload/index.tsx
View file @
44b24646
...
...
@@ -177,7 +177,7 @@ class PicturesWall extends React.Component<PicturesWallType> {
url
:
this
.
state
.
curSelectedImg
,
},
];
this
.
props
.
onChange
&&
this
.
props
.
onChange
(
maxLen
===
1
?
fileList
[
0
].
url
.
replace
(
'Web4
/'
,
''
)
:
fileList
.
map
(
f
=>
f
.
url
.
replace
(
'Web4/
'
,
''
)));
this
.
props
.
onChange
&&
this
.
props
.
onChange
(
maxLen
===
1
?
fileList
[
0
].
url
.
replace
(
'Web4
\
\'
, '') : fileList.map(f => f.url.replace('
Web4
\\
', '')));
this.setState({ fileList, wallModalVisible: false });
};
...
...
src/pages/webConfig/index.js
View file @
44b24646
...
...
@@ -204,6 +204,7 @@ const WebConfigPage = props => {
message
:
successMsg
,
duration
:
3
,
});
setConfigVisible
(
false
);
updateModuleTree
(
userMode
||
'super'
);
}
else
{
notification
.
warning
({
...
...
src/pages/webConfig/menuconfig/webMenu.jsx
View file @
44b24646
...
...
@@ -287,7 +287,6 @@ const MiniMenu = props => {
};
// 树的拖动
const
handleDrop
=
infos
=>
{
console
.
log
(
infos
,
'newTree'
);
const
{
pos
}
=
infos
.
node
.
props
;
const
dragKey
=
infos
.
dragNode
.
props
.
eventKey
;
const
dragPos
=
infos
.
dragNode
.
props
.
pos
.
split
(
'-'
);
// 拖动的节点
...
...
@@ -302,7 +301,6 @@ const MiniMenu = props => {
obj
=
{
arr
,
id
,
parentId
,
index
};
return
{
arr
,
id
,
parentId
,
index
};
});
console
.
log
(
obj
,
'obj'
);
let
arrList
=
[];
if
(
dragPos
.
length
!==
dropPos
.
length
||
...
...
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