now I am doing an app raffle function, as well as a background page on the computer side, which can be used to configure the prize and probability information of the app raffle. For example, there is a lucky draw rule, which requires 8 commodities, and the probability of 8 commodities is 100%. My practice is to judge whether the probability of the sum of 8 items is 100% when adding the 8th item, and the error will be prompted if it is not 100%. In doing so, there is a problem: after adding 8 items, I now want to change the lieutenant general probability of the commodity, because the sum of the probability will be 100 when the commodity is 8, which makes me unable to change the winning probability now. How to solve this problem? Ask for advice