feat: 全局接口保存之后调接口存储
This commit is contained in:
parent
08b1c14a1c
commit
18784d4455
@ -48,6 +48,7 @@ import { useTargetData } from '../../../hooks/useTargetData.hook'
|
|||||||
import { RequestGlobalConfig } from './components/RequestGlobalConfig'
|
import { RequestGlobalConfig } from './components/RequestGlobalConfig'
|
||||||
import { RequestTargetConfig } from './components/RequestTargetConfig'
|
import { RequestTargetConfig } from './components/RequestTargetConfig'
|
||||||
import { RequestDataPondItemType } from '@/store/modules/chartEditStore/chartEditStore.d'
|
import { RequestDataPondItemType } from '@/store/modules/chartEditStore/chartEditStore.d'
|
||||||
|
import { useSync } from '@/views/chart/hooks/useSync.hook'
|
||||||
import { goDialog } from '@/utils'
|
import { goDialog } from '@/utils'
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
@ -56,6 +57,7 @@ const props = defineProps({
|
|||||||
})
|
})
|
||||||
const emit = defineEmits(['update:modelShow', 'editSaveHandle'])
|
const emit = defineEmits(['update:modelShow', 'editSaveHandle'])
|
||||||
|
|
||||||
|
const { dataSyncUpdate } = useSync()
|
||||||
const pondName = ref()
|
const pondName = ref()
|
||||||
const inputInstRef = ref()
|
const inputInstRef = ref()
|
||||||
|
|
||||||
@ -76,6 +78,7 @@ const closeAndSendHandle = () => {
|
|||||||
onPositiveCallback: () => {
|
onPositiveCallback: () => {
|
||||||
emit('update:modelShow', false)
|
emit('update:modelShow', false)
|
||||||
emit('editSaveHandle', props.targetDataRequest)
|
emit('editSaveHandle', props.targetDataRequest)
|
||||||
|
dataSyncUpdate()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user