fix: make notMerge still respect to update-options

This commit is contained in:
Justineo
2022-01-18 14:24:17 +08:00
parent c1838efb45
commit 677f100b07

View File

@ -195,8 +195,8 @@ export default defineComponent({
init(); init();
} else { } else {
chart.value.setOption(option, { chart.value.setOption(option, {
...realUpdateOptions.value, notMerge: option.value !== oldOption?.value,
notMerge: option.value !== oldOption?.value ...realUpdateOptions.value
}); });
} }
}, },