修复超粉付费问题
This commit is contained in:
parent
be37b0c99d
commit
682a2e9a49
|
@ -48,10 +48,10 @@ const ListItemWithCheckbox = ({
|
|||
onPress={(e) => {
|
||||
e.stopPropagation();
|
||||
const newSuperSinglesContr = [...superSinglesContr];
|
||||
newSuperSinglesContr[index].enable = false;
|
||||
newSuperSinglesContr[index].enable =
|
||||
!superSingleCheckeds.includes(index);
|
||||
// newSuperSinglesContr[index].price = "0";
|
||||
newSuperSinglesContr[index].wechatFree = false;
|
||||
|
||||
// newSuperSinglesContr[index].wechatFree = false;
|
||||
setSuperSinglesContr(newSuperSinglesContr);
|
||||
if (superSingleCheckeds.includes(index)) {
|
||||
setSuperSingleCheckeds(() => {
|
||||
|
@ -317,7 +317,6 @@ export default function SpacePaymentSetting({ navigation, route }) {
|
|||
if (isPrice) return;
|
||||
|
||||
if (isSubmitting) return;
|
||||
|
||||
const superfan_price_list = superSinglesContr.map((it, index) => ({
|
||||
period: it.key,
|
||||
enable: it.enable ? 1 : 0,
|
||||
|
|
Loading…
Reference in New Issue