diff --git a/src/pages/device/productmanage/index.jsx b/src/pages/device/productmanage/index.jsx index 21cd9c4..dc85181 100644 --- a/src/pages/device/productmanage/index.jsx +++ b/src/pages/device/productmanage/index.jsx @@ -656,8 +656,8 @@ const handleRemove = async (ids) => { params.productVesionId=props.location.query.values.id await getGoodstechnologypage(params).then((r) => { data = r.data.data; - setdatafunctionSource( r.data.data) - total = r.data.total; + setdatafunctionSource( r.data?.data) + total = r.data?.total; }); return { data: data,