提交 a5eeddff 作者: ZhangLingKun

Merge remote-tracking branch 'origin/develop' into develop

...@@ -14,4 +14,4 @@ patches: ...@@ -14,4 +14,4 @@ patches:
images: images:
- name: REGISTRY/NAMESPACE/IMAGE:TAG - name: REGISTRY/NAMESPACE/IMAGE:TAG
newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/admin newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/admin
newTag: 3bff7965b990c05ebcc4298bd4aea6b4281b4495 newTag: 30d9af6174715e13ed77cc481effe5e8307a061c
...@@ -87,7 +87,7 @@ function ProduceDetail() { ...@@ -87,7 +87,7 @@ function ProduceDetail() {
}; };
// 打开编辑弹窗 // 打开编辑弹窗
const handleEdit = (record: specType[0]) => { const handleEdit = (record: specType[0]) => {
setAddEditData(record); setAddEditData({ ...record });
setAddOrEditProduceSpecModalShow(true); setAddOrEditProduceSpecModalShow(true);
}; };
// 关闭新增编辑弹窗 // 关闭新增编辑弹窗
...@@ -158,7 +158,7 @@ function ProduceDetail() { ...@@ -158,7 +158,7 @@ function ProduceDetail() {
}; };
//配置价格 //配置价格
const handlePrice = (record: specType[0]) => { const handlePrice = (record: specType[0]) => {
setAddEditData(record); setAddEditData({ ...record });
setProduceSpecPriceModalShow(true); setProduceSpecPriceModalShow(true);
}; };
const produceSpecPriceModalCancel = () => { const produceSpecPriceModalCancel = () => {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论