diff --git a/src/pages/exchangecode/product/add.js b/src/pages/exchangecode/product/add.js index 049d5954..ccdfa655 100644 --- a/src/pages/exchangecode/product/add.js +++ b/src/pages/exchangecode/product/add.js @@ -87,7 +87,7 @@ export default class adduserinfo extends React.Component { model.cost_price = model_temp.cost_price model.quantity = model_temp.quantity 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.account_type = model_temp.account_type model.detail_url = model_temp.detail_url diff --git a/src/pages/plan/product/add.js b/src/pages/plan/product/add.js index 354cfe0b..e4b4e86b 100644 --- a/src/pages/plan/product/add.js +++ b/src/pages/plan/product/add.js @@ -83,7 +83,7 @@ export default class adduserinfo extends React.Component { model.quantity = model_temp.quantity model.product_name = model_temp.product_name 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.account_type = model_temp.account_type let defaultPic = []