Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-admin
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
project
jinfa-admin
Commits
2fa10a6e
Commit
2fa10a6e
authored
Mar 02, 2022
by
Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改品类导航页多次提示bug
parent
079143d4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
editPanel.tsx
...zed/categoryNavigation/components/EditPanel/editPanel.tsx
+1
-1
index.tsx
src/pages/pageCustomized/categoryNavigation/index.tsx
+2
-2
No files found.
src/pages/pageCustomized/categoryNavigation/components/EditPanel/editPanel.tsx
View file @
2fa10a6e
...
@@ -79,7 +79,7 @@ const EditPanel = () => {
...
@@ -79,7 +79,7 @@ const EditPanel = () => {
return
;
return
;
}
}
if
(
activeKey
===
null
&&
selectedInfo
!==
null
)
{
if
(
activeKey
===
null
&&
selectedInfo
!==
null
)
{
message
.
info
(
"请先选择一级导航类型"
);
message
.
info
(
{
content
:
"请先选择一级导航类型"
,
key
:
'first'
}
);
const
primaryTabProps
=
pageConfig
[
domKey
!
].
props
;
const
primaryTabProps
=
pageConfig
[
domKey
!
].
props
;
setFormValue
({
setFormValue
({
primary
:
primaryTabProps
?.
id
,
primary
:
primaryTabProps
?.
id
,
...
...
src/pages/pageCustomized/categoryNavigation/index.tsx
View file @
2fa10a6e
import
React
,
{
useEffect
,
useState
}
from
'react'
;
import
React
,
{
useEffect
,
useState
}
from
'react'
;
import
{
Spin
,
message
}
from
'antd'
;
import
{
Spin
,
message
}
from
'antd'
;
import
{
BrickProvider
,
createActions
,
ModuleTree
,
useSelector
}
from
'@linkseeks/design-react'
;
import
{
BrickProvider
,
createActions
,
ModuleTree
,
ModuleTreeCollapse
,
useSelector
}
from
'@linkseeks/design-react'
;
import
{
history
}
from
'umi'
;
import
{
history
}
from
'umi'
;
import
styles
from
'./index.less'
;
import
styles
from
'./index.less'
;
...
@@ -139,7 +139,7 @@ const CategoryNavigation = () => {
...
@@ -139,7 +139,7 @@ const CategoryNavigation = () => {
};
};
return
(
return
(
<
Spin
spinning=
{
false
}
>
<
Spin
spinning=
{
loading
}
>
<
BrickProvider
<
BrickProvider
config=
{
configs
}
config=
{
configs
}
warn=
{
(
msg
:
string
)
=>
{
warn=
{
(
msg
:
string
)
=>
{
...
...
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