Input verifies the length of the input, how to return the last input data?

input verifies the input length. When the input length exceeds 8 digits, you will be prompted to return the previous data

.
<input type="text" v-model="data" @input="verifyData">


verifyData() {
  // , , , 
  if (this.data.length > 8) {
    Toast("");
    return this.data;
  }
},
May.05,2022
The

method name is inconsistent with the data name bound by v-model.
@ input= "verifyPayMoney" and the method name is verifyData , along with this.payMoney and data .


<input type="text" maxlength="9" v-model="data" @input="verifyData">

verifyData() {
  if (this.data.length > 8) {
    Toast('');
  }
},
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3ea62-2bc79.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3ea62-2bc79.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?