Use the .number modifier on v-model to ensure the value is always cast as a number. Parse the number using parseFloat before the validation ...
確定! 回上一頁