记录:
let startlen = this.conditions.startTime + ''
let sub = startlen.substring(startlen.length - 3, startlen.length)
let startreg = new RegExp('(.*)' + sub)
this.conditions.startTime = startlen.replace(startreg, '$1000') //$1 加需要替换的
记录:
let startlen = this.conditions.startTime + ''
let sub = startlen.substring(startlen.length - 3, startlen.length)
let startreg = new RegExp('(.*)' + sub)
this.conditions.startTime = startlen.replace(startreg, '$1000') //$1 加需要替换的