import { use } from '../utils'; const [sfc, bem] = use('password-input'); export default sfc({ functional: true, props: { info: String, errorInfo: String, value: { type: String, default: '' }, length: { type: Number, default: 6 } }, render(h, context) { const { props, listeners } = context; const info = props.errorInfo || props.info; const Points = []; for (let i = 0; i < props.length; i++) { Points.push(
  • ); } return (
    {info &&
    {info}
    }
    ); } });