功能完善

This commit is contained in:
kron
2025-06-15 15:53:57 +08:00
parent 7ac84a6129
commit 448f88a77e
21 changed files with 424 additions and 178 deletions

View File

@@ -1,5 +1,5 @@
<script setup>
import { ref } from "vue";
import { ref, watch } from "vue";
const props = defineProps({
rowCount: {
type: Number,
@@ -15,6 +15,12 @@ const props = defineProps({
},
});
const items = ref(new Array(props.total).fill(9));
watch(
() => props.total,
(newValue) => {
items.value = new Array(newValue).fill(9);
}
);
</script>
<template>
<view class="container">