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
2c9dac73
Commit
2c9dac73
authored
Nov 15, 2021
by
皮倩雯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决数据字典导入数据后刷新失效问题
parent
9e996e6a
Pipeline
#37847
passed with stages
in 24 minutes 43 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
WebDic.js
src/pages/dataCenter/dictionary1/WebDic.js
+2
-1
No files found.
src/pages/dataCenter/dictionary1/WebDic.js
View file @
2c9dac73
...
...
@@ -315,6 +315,7 @@ const WebDic = () => {
//是否首次加载
if
(
value
===
null
||
value
===
'-1'
)
{
setData
(
res
);
console
.
log
(
res
)
if
(
first
)
{
setSelect
(
res
[
0
]);
// 默认当前选中一级条目第一条
setSelectColor
(
res
[
0
]);
...
...
@@ -613,7 +614,7 @@ const WebDic = () => {
if
(
info
.
file
.
status
===
'done'
)
{
console
.
log
(
1
);
message
.
success
(
`
${
info
.
file
.
name
}
导入成功`
);
setF
lag
(
flag
+
1
)
setF
irst
(
true
)
}
else
if
(
info
.
file
.
status
===
'error'
)
{
message
.
error
(
`
${
info
.
file
.
name
}
导入失败.`
);
}
...
...
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