diff --git a/src/views/chart/ContentConfigurations/components/ChartData/components/ChartDataRequest/pondIndex.vue b/src/views/chart/ContentConfigurations/components/ChartData/components/ChartDataRequest/pondIndex.vue index 6bc0a000..cdae25a5 100644 --- a/src/views/chart/ContentConfigurations/components/ChartData/components/ChartDataRequest/pondIndex.vue +++ b/src/views/chart/ContentConfigurations/components/ChartData/components/ChartDataRequest/pondIndex.vue @@ -48,6 +48,7 @@ import { useTargetData } from '../../../hooks/useTargetData.hook' import { RequestGlobalConfig } from './components/RequestGlobalConfig' import { RequestTargetConfig } from './components/RequestTargetConfig' import { RequestDataPondItemType } from '@/store/modules/chartEditStore/chartEditStore.d' +import { useSync } from '@/views/chart/hooks/useSync.hook' import { goDialog } from '@/utils' const props = defineProps({ @@ -56,6 +57,7 @@ const props = defineProps({ }) const emit = defineEmits(['update:modelShow', 'editSaveHandle']) +const { dataSyncUpdate } = useSync() const pondName = ref() const inputInstRef = ref() @@ -76,6 +78,7 @@ const closeAndSendHandle = () => { onPositiveCallback: () => { emit('update:modelShow', false) emit('editSaveHandle', props.targetDataRequest) + dataSyncUpdate() } }) }