!216 fixed:requestDataPondItem应该为响应式ref类型,因此有value,原来写法会造成undefined报错

Merge pull request !216 from fresh66/2.2.6-fixed
This commit is contained in:
奔跑的面条 2023-12-17 06:40:19 +00:00 committed by Gitee
commit 278d67945a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -116,7 +116,7 @@ export const useChartDataPondFetch = () => {
const requestDataPondItem = computed(() => {
return requestGlobalConfig.requestDataPond.find(item => item.dataPondId === pondKey)
}) as ComputedRef<RequestDataPondItemType>
if (requestDataPondItem) {
if (requestDataPondItem.value) {
newPondItemInterval(chartEditStore.requestGlobalConfig, requestDataPondItem, mittDataPondMap.get(pondKey))
}
}