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