
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
vue-sk-input
Advanced tools
npm install vue-sk-input
##示例
<sk-input v-model="test" placeholder="placeholder" :validate="validate: { reg: /^1$/, errorMsg: 'error' }" clearable />
import skInput from 'vue-sk-input'
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|---|---|---|---|---|
| value / v-model | 绑定值 | string / number | —— | —— |
| maxlength | 原生属性,最大输入长度 | number | —— | —— |
| minlength | 原生属性,最小输入长度 | number | —— | —— |
| placeholder | 输入框占位文本 | string | —— | —— |
| clearable | 是否可清空 | boolean | —— | false |
| disabled | 禁用 | boolean | —— | false |
| readonly | 只读 | boolean | —— | false |
| size | 输入框尺寸 | string | large / default / small | default |
| validate | 校验规则,示例: { reg: /[0-9]/, errorMsg: 'error' } | object | —— | —— |
| verifyType | 内置的校验规则( 金额,值不为空,手机号,邮箱 ) | string | money / notNull / phone / email | —— |
| 事件名 | 说明 | 回调参数 |
|---|---|---|
| blur | 在 Input 失去焦点时触发 | (event: Event) |
| focus | 在 Input 获得焦点时触发 | (event: Event) |
| input | 在 Input 值改变时触发 | (event: Event) |
| clear | 在点击由 clearable 属性生成的清空按钮时触发 | —— |
FAQs
基于vue,带校验的input
We found that vue-sk-input demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.