Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
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
黄庭坚
jinfa-platform
Commits
f7e929cd
Commit
f7e929cd
authored
Jan 19, 2022
by
前端-钟卫鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改价格策略内跳转链接兼顾demo站菜单配置
parent
e0d6e6f9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
env.js
env.js
+1
-1
index.tsx
src/pages/priceManage/priceStrategy/index.tsx
+3
-3
No files found.
env.js
View file @
f7e929cd
...
...
@@ -176,7 +176,7 @@ module.exports = {
ssh
:
JSON
.
stringify
({
user
:
"root"
,
// Password optional, prompted if none given
password
:
"
12345
6"
,
password
:
"
SsyLingxi@test66
6"
,
host
:
"10.0.0.17"
,
port
:
22
,
localRoot
:
path
.
resolve
(
'./dist/'
),
...
...
src/pages/priceManage/priceStrategy/index.tsx
View file @
f7e929cd
...
...
@@ -35,7 +35,7 @@ const PriceManage: React.FC<{}> = () => {
render
:
(
text
:
any
,
record
:
any
)
=>
<
EyePreview
url=
{
`
/memberCenter/commodityAbility/priceManage/priceStrategy/setStrategy
/detail?id=${record.id}&preview=1`
}
url=
{
`
${history.location.pathname}
/detail?id=${record.id}&preview=1`
}
>
{
text
}
</
EyePreview
>
...
...
@@ -166,7 +166,7 @@ const PriceManage: React.FC<{}> = () => {
}
const
handleModify
=
(
record
:
any
)
=>
{
history
.
push
(
`
/memberCenter/commodityAbility/priceManage/priceStrategy/setStrategy
/edit?id=
${
record
.
id
}
`
)
history
.
push
(
`
${
history
.
location
.
pathname
}
/edit?id=
${
record
.
id
}
`
)
}
const
handleDelete
=
(
record
:
any
)
=>
{
...
...
@@ -183,7 +183,7 @@ const PriceManage: React.FC<{}> = () => {
<
Space
>
<
Button
type=
'primary'
onClick=
{
()
=>
history
.
push
(
'/memberCenter/commodityAbility/priceManage/priceStrategy/setStrategy/add'
)
}
onClick=
{
()
=>
history
.
push
(
`${history.location.pathname}/add`
)
}
>
<
PlusOutlined
/>
{
intl
.
formatMessage
({
id
:
'priceManage.priceStrategy.controllerBtns'
})
}
</
Button
>
...
...
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