Skip to content

Commit d0f7673

Browse files
committed
更改变量名
1 parent b908c3b commit d0f7673

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/SwitchDemo.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div>
3-
<Switch v-model:value="y" />
3+
<Switch v-model:value="bool" />
44
</div>
55
</template>
66
<script lang="ts">
@@ -9,8 +9,8 @@ import {ref} from 'vue';
99
export default {
1010
components:{ Switch },
1111
setup(){
12-
const y = ref(false)
13-
return { y }
12+
const bool = ref(false)
13+
return { bool }
1414
}
1515
}
1616
</script>

0 commit comments

Comments
 (0)