diff --git a/components/City.vue b/components/City.vue index 734c6ef..f8b7a4e 100644 --- a/components/City.vue +++ b/components/City.vue @@ -24,6 +24,8 @@ import CreateLog from './CreateLog.vue'; const props = defineProps<{ city: CityInfo }>(); +const currentCity = props.city; + const timestamp = useTimestamp({ interval: 10 * 1000 }); const store = useLatestLogs(); @@ -37,16 +39,28 @@ const store = useLatestLogs(); - 商品{{ city.name }}{{ currentCity.name }}{{ city.name }}操作 {{ product.name }} - +