Commit 12808fa1 authored by 靳野's avatar 靳野

fix:修复商品价格与库存问题切换类目缓存

parent 4bd45beb
...@@ -452,7 +452,9 @@ const FormPriceOrStock = forwardRef((props, ref) => { ...@@ -452,7 +452,9 @@ const FormPriceOrStock = forwardRef((props, ref) => {
}, [customer]); }, [customer]);
useEffect(() => { useEffect(() => {
firstOnChangeEvent(); (async () => {
await onSpecificationEvent();
})();
}, [customer.isGold]); }, [customer.isGold]);
useEffect(() => { useEffect(() => {
......
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