How to manually control the maximum value of elementui counter (el-input-number)

I want to control the events of + and-myself. I don"t know how to get the event of the control.

: min and: max can be set until the specified value is disabled, but there are limitations. Beg the boss.

Jul.22,2021

a = 10, b = 5 if limit = 8
if (aquib > = limit) {

// 

}
according to your statement, I understand that
sets a limit value, which cannot be added when the number of coupons an and b is greater than the limit value, otherwise it can be modified. Then just add a judgment to the method

Menu