-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请问如何设置第一次打开默认值 #3
Comments
直接在input标签中写value值即可,如果数据源存在与value值匹配的字符串,则插件弹出后会自动调整到对应位置 |
哦,不好意思,我忘记了,这个版本需要用实例化对象中的value去控制,比如: |
area1.value=[0,2,0];这句仅仅是控制了省市县弹出时的位置,不影响input真实的value,所以初始化的时候还是需要额外设置好input的value值与其对应 |
非常感谢,我的js也不是很精通。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
如题
The text was updated successfully, but these errors were encountered: