
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.
lee-selector
Advanced tools
参考文档: http://markdown.p2hp.com/index.html
npm install lee-selector
#or
yarn add lee-selector
Import and register component
Global
import Vue from 'vue'
import VueAmazingSelector from 'lee-selector'
Vue.use(VueAmazingSelector)
Local
<template>
<LeeSelector
:options="options"
label="label"
value="value"
placeholder="请选择"
:disabled="false"
:width="160"
:height="36"
:num="6"
v-model="selectedValue"
@change="onChange" />
</template>
<script>
import { LeeSelector } from 'vue-amazing-selector'
export default {
components: {
LeeSelector
}
}
</script>
| 属性 | 说明 | 类型 | 默认值 |
|---|---|---|---|
| options | 选项数据 | Array | [] |
| label | 选择器字典项的文本字段名 | String | label |
| value | 选择器字典项的值字段名 | String | value |
| placeholder | 选择框默认文字 | String | 请选择 |
| disabled | 是否禁用下拉 | Boolean | false |
| allowClear | 是否支持清除 | Boolean | false |
| width | 选择框宽度 | Number | 200 |
| height | 选择框高度 | Number | 36 |
| num | 下拉面板最多能展示的下拉项数,超过后滚动显示 | Number | 6 |
| selectedValue | (v-model)当前选中的option条目 | /Number/String | null |
| 事件名 | 说明 | 返回值 |
|---|---|---|
| change | 选择某项下拉后的回调函数 | value, label, index(value值,label文本值,index索引值) |
FAQs
参考文档: http://markdown.p2hp.com/index.html # lee-selector
We found that lee-selector 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.