mirror of
https://github.com/ecomfe/vue-echarts.git
synced 2025-10-31 00:46:04 +08:00
fix: update should always have notMerge: true
This commit is contained in:
@ -86,9 +86,10 @@ export default defineComponent({
|
||||
const realInitOptions = computed(
|
||||
() => props.initOptions || unref(defaultInitOptions) || {}
|
||||
);
|
||||
const realUpdateOptions = computed(
|
||||
() => props.updateOptions || unref(defaultUpdateOptions) || {}
|
||||
);
|
||||
const realUpdateOptions = computed(() => ({
|
||||
...(props.updateOptions || unref(defaultUpdateOptions) || {}),
|
||||
notMerge: true
|
||||
}));
|
||||
const nonEventAttrs = computed(() => omitOn(attrs));
|
||||
|
||||
function init(option?: Option) {
|
||||
|
||||
Reference in New Issue
Block a user