The vux x-input clear button does not work, the solution:
Find the node_modues—vux—src–components—x-input --index.vue component and modify the following three points
focus () { // 优化添加 setTimeout(() => { this.$refs.input.focus() }, 0) }, onBlur ($event) { this.setTouched() this.validate() // 优化添加 setTimeout(() => { this.isFocus = false }, 0) this.$emit('on-blur', this.currentValue, $event) }, onKeyUp (e) { if (e.key === 'Enter') { e.target.blur() this.isFocus = true // Optimize and add this . $ emit ('on-enter', this .currentValue, e) }