fix(图表): 图表首次点击不重新加载 #13722

This commit is contained in:
wisonic 2025-01-08 19:18:44 +08:00 committed by wisonic-s
parent 84f7a0c02c
commit 57e72c5aef
2 changed files with 6 additions and 0 deletions

View File

@ -443,6 +443,9 @@ const defaultPlaceholder = computed(() => {
watch(
() => allFields.value,
() => {
if (!showProperty('showFields')) {
return
}
let result = []
state.labelForm.showFields?.forEach(field => {
if (allFields.value?.map(i => i.value).includes(field)) {

View File

@ -412,6 +412,9 @@ const defaultPlaceholder = computed(() => {
watch(
() => allFields.value,
() => {
if (!showProperty('showFields')) {
return
}
let result = []
state.tooltipForm.showFields?.forEach(field => {
if (allFields.value?.map(i => i.value).includes(field)) {