forked from github/dataease
fix(仪表板): 复用查询按钮后关联组件显示错误
This commit is contained in:
parent
14ca3e0989
commit
9ef9085847
@ -623,6 +623,13 @@ const data = {
|
||||
},
|
||||
addCurMultiplexingComponent(state, { component, componentId }) {
|
||||
if (componentId) {
|
||||
if (component.type === 'custom-button' && component.serviceName === 'buttonSureWidget') {
|
||||
const copyComponent = deepCopy(component)
|
||||
copyComponent.options.attrs.customRange = false
|
||||
copyComponent.options.attrs.filterIds = []
|
||||
state.curMultiplexingComponents[componentId] = copyComponent
|
||||
return
|
||||
}
|
||||
state.curMultiplexingComponents[componentId] = component
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user