Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kooriookami/koo-select
一个基于 uv-ui 的 uniapp select 选择器
https://github.com/kooriookami/koo-select
Last synced: 24 days ago
JSON representation
一个基于 uv-ui 的 uniapp select 选择器
- Host: GitHub
- URL: https://github.com/kooriookami/koo-select
- Owner: kooriookami
- Created: 2023-12-08T08:20:40.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2023-12-08T08:34:50.000Z (11 months ago)
- Last Synced: 2023-12-08T09:34:02.470Z (11 months ago)
- Language: Vue
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Changelog: changelog.md
Awesome Lists containing this project
README
## Select 选择器
> **组件名:koo-select**
拓展 uv 组件库,支持单选、多选、搜索
### Demo
```vue
import KooSelect from "@/components/koo-select/koo-select.vue";
export default {
name: "demo",
components: {
KooSelect
},
data() {
return {
value: [],
options: [
{
label: '1',
value: '1',
},
{
label: '2',
value: '2',
},
{
label: '3',
value: '3',
}
]
}
},
mounted() {
this.$refs.select.open();
},
methods: {
handleChange(value, option) {
console.log(value, option);
}
}
}```