修复 商品组件 编辑商品权重为0时不能提交 验证问题
This commit is contained in:
parent
2b41a4b9cd
commit
b006e45446
|
@ -87,7 +87,7 @@ export default class adduserinfo extends React.Component {
|
||||||
model.cost_price = model_temp.cost_price
|
model.cost_price = model_temp.cost_price
|
||||||
model.quantity = model_temp.quantity
|
model.quantity = model_temp.quantity
|
||||||
model.product_name = model_temp.product_name
|
model.product_name = model_temp.product_name
|
||||||
model.weight = model_temp.weight
|
model.weight = String(model_temp.weight)
|
||||||
model.show_url = model_temp.show_url
|
model.show_url = model_temp.show_url
|
||||||
model.account_type = model_temp.account_type
|
model.account_type = model_temp.account_type
|
||||||
model.detail_url = model_temp.detail_url
|
model.detail_url = model_temp.detail_url
|
||||||
|
|
|
@ -83,7 +83,7 @@ export default class adduserinfo extends React.Component {
|
||||||
model.quantity = model_temp.quantity
|
model.quantity = model_temp.quantity
|
||||||
model.product_name = model_temp.product_name
|
model.product_name = model_temp.product_name
|
||||||
model.show_url = model_temp.show_url
|
model.show_url = model_temp.show_url
|
||||||
model.weight = model_temp.weight
|
model.weight = String(model_temp.weight)
|
||||||
model.detail_url = model_temp.detail_url
|
model.detail_url = model_temp.detail_url
|
||||||
model.account_type = model_temp.account_type
|
model.account_type = model_temp.account_type
|
||||||
let defaultPic = []
|
let defaultPic = []
|
||||||
|
|
Loading…
Reference in New Issue