fix(仪表板、数据大屏): 修复外部参数跳转设置保存后,仪表板保存按钮未处于激活状态问题

This commit is contained in:
wangjiahao 2024-07-04 13:17:32 +08:00
parent 6cbccd30f2
commit cf6082a2e2

View File

@ -187,11 +187,13 @@ import checkArrayRepeat from '@/utils/check'
import HandleMore from '@/components/handle-more/src/HandleMore.vue'
import { fieldType } from '@/utils/attr'
import EmptyBackground from '@/components/empty-background/src/EmptyBackground.vue'
import { snapshotStoreWithOut } from '@/store/modules/data-visualization/snapshot'
const dvMainStore = dvMainStoreWithOut()
const { dvInfo, componentData } = storeToRefs(dvMainStore)
const outerParamsInfoTree = ref(null)
const { t } = useI18n()
const curEditDataId = ref(null)
const snapshotStore = snapshotStoreWithOut()
const state = reactive({
loading: false,
@ -319,6 +321,7 @@ const save = () => {
type: 'success',
showClose: true
})
snapshotStore.recordSnapshotCache('renderChart')
cancel()
})
}