there is an input in vue I use v-model and watch to get the input number, and now enter at most 2 decimal places
although the function is realized, but when entering, you can actually enter 3 decimal places, but I intercepted the input data through watch and re-assigned the value to achieve the requirement of up to 2 decimal places, but in the input process, the input data has been flashing. The experience is not very good
excuse me, are there any other solutions for this kind of requirements?
used in vue