Commit 13c8492a by zhaochengxiang

bug fix

parent f0f48862
...@@ -234,7 +234,7 @@ const Basic = React.forwardRef(function ({ ids }, ref) { ...@@ -234,7 +234,7 @@ const Basic = React.forwardRef(function ({ ids }, ref) {
onChange={(val) => { onChange={(val) => {
const index = (configs??[]).findIndex(_item => item.easyDataModelerDataModelId === _item.easyDataModelerDataModelId) const index = (configs??[]).findIndex(_item => item.easyDataModelerDataModelId === _item.easyDataModelerDataModelId)
if (index !== -1) { if (index !== -1) {
const newConfig = { ...configs[index], alertDLL: val } const newConfig = { ...configs[index], alertDLL: val, leftVersionId: null, rightVersionId: null }
const info = val ? alertSpecialInfo : notAlertSpecialInfo const info = val ? alertSpecialInfo : notAlertSpecialInfo
for (const item of info) { for (const item of info) {
newConfig.ddlFilter[item.key] = item.defaultValue newConfig.ddlFilter[item.key] = item.defaultValue
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment