When we disable the brake upload attribute we will check the file type or size by on-change

That’s fine when you limit it to one file at a time and you get the results you want what happens when you have to upload multiple files? As follows:

When you upload multiple files, on-chang will execute many times, check many times, there will be many prompts, which will cause the page display is very poor. How to only through the final state to achieve ???? To achieve the effect of only once can be monitored to achieve the following code

(There are many ways to achieve, the current method is only one of thousands of ways to meet my current needs and I hope you have more ways to achieve)