处方编号未更新

This commit is contained in:
zoujiandong
2023-09-15 10:16:30 +08:00
parent 86d6fe299c
commit a7381e2363
2 changed files with 9 additions and 4 deletions
+5 -1
View File
@@ -7,7 +7,7 @@
</a-table>
</template>
<script setup>
import {toRefs} from 'vue';
import { watch,toRefs } from 'vue';
const props = defineProps({
// 数组名称
data: {
@@ -21,5 +21,9 @@ const props = defineProps({
type: Array
}
});
const { data, columns,pagination} = toRefs(props);
// watch(()=>props.data,(value)=>{
// data.value=value;
// },{immediate:true})
</script>