fix: add getDom method, remove classname

This commit is contained in:
Justineo
2021-02-19 18:10:32 +08:00
parent 419d79f86f
commit f450118a3b
2 changed files with 2 additions and 4 deletions

View File

@ -186,9 +186,6 @@ export default defineComponent({
};
},
render() {
return h("div", {
ref: "root",
class: "echarts"
});
return h("div", { ref: "root" });
}
});

View File

@ -5,6 +5,7 @@ import { EChartsType, OptionType } from "../types";
const METHOD_NAMES = [
"getWidth",
"getHeight",
"getDom",
"getOption",
"resize",
"dispatchAction",