fix: make the .chart getter work with Vue 2

This commit is contained in:
Justineo
2021-04-30 18:28:12 +08:00
parent c7fd5110f7
commit dd71918d10
5 changed files with 19 additions and 19 deletions

View File

@ -1,5 +1,5 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
import { Ref } from "vue-demi";
import { Ref, unref } from "vue-demi";
import { EChartsType, Option } from "../types";
const METHOD_NAMES = [