diff --git a/src/components/Detail/src/Detail.vue b/src/components/Detail/src/Detail.vue index 5dc338bbb..7bcadad15 100644 --- a/src/components/Detail/src/Detail.vue +++ b/src/components/Detail/src/Detail.vue @@ -203,6 +203,7 @@ const remarksSubmitScuess = async (remark) => { } // 获取变更记录 const getChangeRecordList = async () => { + remarksData.data.tableId = '1679654720693248010' remarksData.remarksList = await DetailApi.getChangeRecordPage(remarksData.data) } diff --git a/src/components/Search/src/Search.vue b/src/components/Search/src/Search.vue index a9fbe9488..1d41701be 100644 --- a/src/components/Search/src/Search.vue +++ b/src/components/Search/src/Search.vue @@ -7,6 +7,9 @@ import { findIndex } from '@/utils' import { cloneDeep } from 'lodash-es' import { FormSchema } from '@/types/form' +import { useCache } from '@/hooks/web/useCache' +const { wsCache } = useCache() + defineOptions({ name: 'Search' }) const { t } = useI18n() @@ -97,44 +100,49 @@ const setVisible = () => { unref(elFormRef)?.resetFields() visible.value = !unref(visible) } +const Search = ref() +onMounted(() => { + nextTick(() => { + console.log(4) + console.log(Search.value.offsetHeight) + wsCache.set('SearchoffsetHeight', Search.value.offsetHeight) + console.log(wsCache.get('SearchoffsetHeight')) + console.log(4) + }) +})