fix(pl): 默认激活统计包装面板以加载全局合同与证件列表。

This commit is contained in:
wuzilong committed 2026-11-01 22:23:25 +08:00
1 parent f9c489531d
commit b1a50b58e3
3 files changed
+103 -2

No files matched your search

@@ -1,5 +1,5 @@
<template><StatisticsPanel mode="certificate" :active="active" /></template>
<script setup lang="ts">
import StatisticsPanel from '../quota-statistics/StatisticsPanel.vue'
defineProps<{ active?: boolean }>()
withDefaults(defineProps<{ active?: boolean }>(), { active: true })
</script>
@@ -1,5 +1,8 @@
<template><StatisticsPanel mode="contract" v-bind="props" /></template>
<script setup lang="ts">
import StatisticsPanel from '../quota-statistics/StatisticsPanel.vue'
const props = defineProps<{ contractId?: string; embedded?: boolean; active?: boolean }>()
const props = withDefaults(
defineProps<{ contractId?: string; embedded?: boolean; active?: boolean }>(),
{ active: true }
)
</script>