Merge pull request #7037 from dataease/pr@dev@fix_template-rich-text

fix: 修复富文本示例数据为加入到模版中的问题
This commit is contained in:
王嘉豪 2023-12-06 14:05:26 +08:00 committed by GitHub
commit 70611f0f12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -313,6 +313,7 @@ const calcData = (view: Chart, callback) => {
state.totalItems = res?.totalItems
const curViewInfo = canvasViewInfo.value[element.value.id]
curViewInfo['curFields'] = res.data.fields
dvMainStore.setViewDataDetails(element.value.id, state.data)
initCurFields(res)
}
callback?.()