数据调整
This commit is contained in:
parent
04a8043dfc
commit
29c8f7f562
@ -232,9 +232,13 @@ const remittancesData = ref<ConsumptionRecord[]>([
|
|||||||
const props = withDefaults(
|
const props = withDefaults(
|
||||||
defineProps<{
|
defineProps<{
|
||||||
data?: ConsumptionRecord[]
|
data?: ConsumptionRecord[]
|
||||||
|
relatData?: RelationshipRecord[]
|
||||||
|
remitData?: ConsumptionRecord[]
|
||||||
}>(),
|
}>(),
|
||||||
{
|
{
|
||||||
data: () => []
|
data: () => [],
|
||||||
|
relatData: () => [],
|
||||||
|
remitData: () => []
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -242,6 +246,12 @@ const props = withDefaults(
|
|||||||
if (props.data && props.data.length > 0) {
|
if (props.data && props.data.length > 0) {
|
||||||
recordsData.value = props.data
|
recordsData.value = props.data
|
||||||
}
|
}
|
||||||
|
if (props.relatData && props.relatData.length > 0) {
|
||||||
|
relationshipData.value = props.relatData
|
||||||
|
}
|
||||||
|
if (props.remitData && props.remitData.length > 0) {
|
||||||
|
remittancesData.value = props.remitData
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user