添加注释
This commit is contained in:
parent
541857aeab
commit
d9a1bab8a8
|
@ -285,12 +285,14 @@ export default class addKnockGold extends Component {
|
|||
if (this.limitFunction() === false) {
|
||||
return false
|
||||
}
|
||||
/* 兼容老数据 */
|
||||
if (this.props.data?.goods_id) {
|
||||
temp[index] = Object.assign({
|
||||
...this.state.model.origin,
|
||||
...this.transformDataCode()
|
||||
})
|
||||
} else {
|
||||
/* 新增编辑 */
|
||||
temp[index] = this.transformDataCode()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue