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