mirror of
https://github.com/ecomfe/vue-echarts.git
synced 2025-08-14 19:23:28 +08:00
fix: add getDom method, remove classname
This commit is contained in:
@ -186,9 +186,6 @@ export default defineComponent({
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
render() {
|
render() {
|
||||||
return h("div", {
|
return h("div", { ref: "root" });
|
||||||
ref: "root",
|
|
||||||
class: "echarts"
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -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",
|
||||||
|
Reference in New Issue
Block a user