Skip to content

StarryYang/v-select

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

v-select

it is to keep the same displaying on the ios and android

Build Setup

# install dependencies
npm install --save yh-select

# import

import vselect from 'yh-select'

# Template
<v-select name="school" v-model="school" :sel="school" :options="list" :val="val" :names="name"></v-select>

需要过滤的select 
<v-select name="school" v-model="school" :sel="school" :options="list" :val="val" :names="name" :search="true"></v-select>
v-model 值须与 sel一致
options 循环的option 数组
val 指定option的value值
names 指定option的显示文字

#style .select-wrapper开始可以修改select样式

#warn 移动端建议使用:yh-select, pc建议使用select

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published