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