mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 05:22:13 +08:00
fix(图表): 修复切换图表编辑背景,背景图不切换 #13687
This commit is contained in:
@@ -324,7 +324,7 @@ const queryBackground = () => {
|
||||
const init = () => {
|
||||
state.commonBackground = deepCopy(props.commonBackgroundPop)
|
||||
if (state.commonBackground['outerImage']) {
|
||||
state.fileList.push({ url: imgUrlTrans(state.commonBackground['outerImage']) })
|
||||
state.fileList = [{ url: imgUrlTrans(state.commonBackground['outerImage']) }]
|
||||
} else {
|
||||
state.fileList = []
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user