Commit 3ef322b9 authored by 武广's avatar 武广

fix: 改变默认类型

parent 0bca1fa9
...@@ -91,7 +91,7 @@ const ServiceGoods = options => { ...@@ -91,7 +91,7 @@ const ServiceGoods = options => {
const handleCancel = refresh => { const handleCancel = refresh => {
setPageId(null); setPageId(null);
setIsEdit(false); setIsEdit(false);
setProductType(4); // 默认写死服务类商品 setProductType(canAddNormal ? 1 : 4);
setEditData({}); setEditData({});
setSpecKeyList([]); setSpecKeyList([]);
resetForm(); resetForm();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment