import { use } from '../utils'; const [sfc, bem] = use('password-input'); export default sfc({ props: { info: String, errorInfo: String, value: { type: String, default: '' }, length: { type: Number, default: 6 } }, computed: { points() { const arr = []; for (let i = 0; i < this.length; i++) { arr[i] = this.value[i] ? 'visible' : 'hidden'; } return arr; } }, render(h) { const info = this.errorInfo || this.info; return (