upgrade vue 3.2 to 3.4
This commit is contained in:
parent
1f8c166175
commit
9d28a3f03f
5 changed files with 51 additions and 1 deletions
23
src/modules/01_dashboard/views/test.vue
Normal file
23
src/modules/01_dashboard/views/test.vue
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<script setup lang="ts">
|
||||
import Child from "@/components/TestUpgrade.vue";
|
||||
import { ref } from "vue";
|
||||
|
||||
const count = ref<number>(0);
|
||||
const total = ref<number>(0);
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<q-card class="q-pa-md">
|
||||
<!-- Parent.vue -->
|
||||
<div class="q-mb-md">
|
||||
<div>Parent count is: {{ count }}</div>
|
||||
<q-btn @click="count = 0">Reset count</q-btn>
|
||||
</div>
|
||||
|
||||
<q-separator />
|
||||
|
||||
<div class="q-mb-md">
|
||||
<Child v-model="count" v-model:total="total" />
|
||||
</div>
|
||||
</q-card>
|
||||
</template>
|
||||
Loading…
Add table
Add a link
Reference in a new issue