<template>
    <div>这是现货动态组件：{{ selectedRow }}</div>
</template>

<script lang="ts" setup>
defineProps({
    code: {
        type: String,
        required: true
    },
    selectedRow: {
        type: Object,
        default: () => ({})
    }
})
</script>