mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
docs(TreeSelect): fix setup
This commit is contained in:
parent
25634382f6
commit
039732d4be
@ -149,7 +149,7 @@ export default {
|
||||
import { ref } from 'vue';
|
||||
|
||||
export default {
|
||||
data() {
|
||||
setup() {
|
||||
const activeIndex = ref(0);
|
||||
return {
|
||||
activeIndex,
|
||||
|
@ -157,7 +157,7 @@ export default {
|
||||
import { ref } from 'vue';
|
||||
|
||||
export default {
|
||||
data() {
|
||||
setup() {
|
||||
const activeIndex = ref(0);
|
||||
return {
|
||||
activeIndex,
|
||||
|
Loading…
x
Reference in New Issue
Block a user