diff --git a/src/components/report/commonReportTable.vue b/src/components/report/commonReportTable.vue index e49621b66..d8560fbbf 100644 --- a/src/components/report/commonReportTable.vue +++ b/src/components/report/commonReportTable.vue @@ -7,8 +7,12 @@ - +
+ +
@@ -157,6 +161,12 @@ export default { } const { data } = await listReportCustomComponentCondition(params) component.conditions = data + // 确保每个条件项都包含响应式的 value 字段,避免 v-model 绑定后不显示 + component.conditions.forEach(cond => { + if (!Object.prototype.hasOwnProperty.call(cond, 'value')) { + this.$set(cond, 'value', '') + } + }) } catch (error) { console.error('Failed to load conditions:', error) }