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() { render() {
return h("div", { return h("div", { ref: "root" });
ref: "root",
class: "echarts"
});
} }
}); });

View File

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