We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://codepen.io/chrisworkalx/pen/mdgvYoG
"vant": "^4.7.2"
<template> <van-cascader v-model="code" title="请选择" :options="options" /> </template> <script setup> import { ref } from 'vue'; const code = ref('1'); const options = [ { text: '浙江省', value: '20', children: [{ text: '杭州市', value: '1', children: [{ text: 'A区', value: '1'}]}], }, { text: '江苏省', value: '30', children: [{ text: '南京市', value: '1', children: [{ text: 'B区', value: '1'}], }], }, ]; </script> issue: 如果这样默认值赋值,会造成匹配失败,请问这个该如何解决?
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Reproduction Link
https://codepen.io/chrisworkalx/pen/mdgvYoG
Vant Version
"vant": "^4.7.2"
Describe the Bug
Reproduce Steps
Device / Browser
No response
The text was updated successfully, but these errors were encountered: