replaceNumber () {
this.bankNumber = this.bankNumber.replace(/\D/g,'').replace(/....(?!$)/g,'$& ')
},
let databody = {
"code": that.bankNumber.replace(/\s*/g,""),
"token": that.$store.state.TOKEN,
}
replaceNumber () {
this.bankNumber = this.bankNumber.replace(/\D/g,'').replace(/....(?!$)/g,'$& ')
},
let databody = {
"code": that.bankNumber.replace(/\s*/g,""),
"token": that.$store.state.TOKEN,
}
转载于:https://www.cnblogs.com/baifubin/p/10754767.html