mirror of
https://gitee.com/dromara/go-view.git
synced 2025-04-06 03:58:04 +08:00
fix: 新增导入数据脏数据的过滤
This commit is contained in:
parent
8a30a763f0
commit
100ec84d57
@ -46,7 +46,8 @@ const updateComponent = async (fileData: any, isSplace = false) => {
|
||||
)
|
||||
}
|
||||
} else {
|
||||
// 非组件
|
||||
// 非组件(顺便排除脏数据)
|
||||
if(key !== 'editCanvasConfig' && key !== 'requestGlobalConfig') return
|
||||
Object.assign((chartEditStore as any)[key], fileData[key])
|
||||
}
|
||||
}
|
||||
@ -54,7 +55,6 @@ const updateComponent = async (fileData: any, isSplace = false) => {
|
||||
|
||||
export const useFile = () => {
|
||||
const importUploadFileListRef = ref()
|
||||
const chartEditStore = useChartEditStore()
|
||||
|
||||
// 上传-前置
|
||||
//@ts-ignore
|
||||
|
Loading…
x
Reference in New Issue
Block a user