You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

12 lines
291 B

<script setup lang="ts">
import { storeToRefs } from "pinia";
import useCounterStore from "../stores/counter";
const store = useCounterStore();
const {count} = storeToRefs(store);
</script>
<template>
<h3>这是Hello World组件数据: {{ count }}</h3>
</template>
<style scoped></style>