diff --git a/src/pages/StreamerSpace/index.jsx b/src/pages/StreamerSpace/index.jsx index bea523b..58f54f3 100644 --- a/src/pages/StreamerSpace/index.jsx +++ b/src/pages/StreamerSpace/index.jsx @@ -659,7 +659,11 @@ const StreamerSpaceContent = () => { }, body: JSON.stringify({ zid: defaultValues.key, - third_partner_mid: selectedUser, + third_partner_mid: + defaultValues?.ratio?.zone_third_partner?.third_partner_account + ?.mid === selectedUser + ? null + : selectedUser, //如果更新前后代运营的mid没有改变,则传null,为了防止更新后重置合伙人list sharing_ratio: parseInt(value.sharing_ratio, 10) / 100, ...base, }), @@ -677,6 +681,7 @@ const StreamerSpaceContent = () => { setDefaultValues({}); setIsAgencyModalOpen(false); }; + //删除代运营 const handleDeleteAgency = async () => { try {