fix leasingPeriod doesn't change self state value
This commit is contained in:
parent
8ff1f31355
commit
cf9ef6fb83
@ -1350,7 +1350,9 @@ const reactionEffects: IReactionEffect[] = [
|
||||
},
|
||||
effect: ({ graphType, leasingPeriod }) => {
|
||||
if (graphType === 100000003 && leasingPeriod < 14) {
|
||||
calculationStore.setValue('leasingPeriod', 14);
|
||||
setTimeout(() => {
|
||||
calculationStore.setValue('leasingPeriod', 14);
|
||||
}, 0);
|
||||
openNotification({
|
||||
type: 'warning',
|
||||
title: 'Внимание',
|
||||
|
||||
Reference in New Issue
Block a user