docs(TreeSelect): fix setup

This commit is contained in:
chenjiahan 2020-12-15 14:48:56 +08:00
parent 25634382f6
commit 039732d4be
2 changed files with 2 additions and 2 deletions

View File

@ -149,7 +149,7 @@ export default {
import { ref } from 'vue';
export default {
data() {
setup() {
const activeIndex = ref(0);
return {
activeIndex,

View File

@ -157,7 +157,7 @@ export default {
import { ref } from 'vue';
export default {
data() {
setup() {
const activeIndex = ref(0);
return {
activeIndex,