Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
merchant-manage-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ui
merchant-manage-ui
Commits
a1240ee5
Commit
a1240ee5
authored
May 08, 2025
by
靳野
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修复保存与blur的冲突问题
parent
98480759
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
index.jsx
src/pages/ServiceGoods/index.jsx
+3
-2
No files found.
src/pages/ServiceGoods/index.jsx
View file @
a1240ee5
...
@@ -31,6 +31,7 @@ import { ServiceContext } from './context';
...
@@ -31,6 +31,7 @@ import { ServiceContext } from './context';
import
{
GOOD_MANAGE
}
from
'
@/../config/permission.config
'
;
import
{
GOOD_MANAGE
}
from
'
@/../config/permission.config
'
;
import
styles
from
'
./common.less
'
;
import
styles
from
'
./common.less
'
;
import
{
GoldCategory
}
from
'
@/config/app.config
'
;
import
{
GoldCategory
}
from
'
@/config/app.config
'
;
import
{
debounce
}
from
'
@/utils/utils
'
;
/**
/**
* 服务商品改造-商品模块
* 服务商品改造-商品模块
...
@@ -454,7 +455,7 @@ const ServiceGoods = options => {
...
@@ -454,7 +455,7 @@ const ServiceGoods = options => {
};
};
// 保存草稿
// 保存草稿
const
onSaveDraft
=
async
()
=>
{
const
onSaveDraft
=
debounce
(
async
()
=>
{
const
info
=
localStorage
.
get
(
localAutoSaveKey
);
const
info
=
localStorage
.
get
(
localAutoSaveKey
);
if
(
if
(
!
info
||
!
info
||
...
@@ -506,7 +507,7 @@ const ServiceGoods = options => {
...
@@ -506,7 +507,7 @@ const ServiceGoods = options => {
handleCancel
(
true
);
handleCancel
(
true
);
},
},
});
});
};
}
,
400
)
;
const
isPopGoods
=
location
.
pathname
.
indexOf
(
'
popGoodsManage
'
)
>
0
;
// pop商品管理-商品库(应付审计用的, 驳回和修改状态下不能编辑)
const
isPopGoods
=
location
.
pathname
.
indexOf
(
'
popGoodsManage
'
)
>
0
;
// pop商品管理-商品库(应付审计用的, 驳回和修改状态下不能编辑)
const
providerValue
=
{
const
providerValue
=
{
pageId
,
pageId
,
...
...
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