@huyuchen/visual
Version:
## 组件环境
34 lines (33 loc) • 665 B
JavaScript
import { openBlock as e, createBlock as r, unref as a } from "vue";
import o from "../BaseChart/index.vue.js";
import { speedOption as c } from "./speed.js";
const n = {
name: "HuSpeed"
}, p = Object.assign(n, {
props: {
v: {
type: Number,
default: 0
},
max: {
type: Number,
default: 160
},
chartStyle: {
type: Object,
default: () => ({
height: "180px",
width: "180px"
})
}
},
setup(t) {
return (u, l) => (e(), r(o, {
option: a(c)(t.v, t.max),
"chart-style": t.chartStyle
}, null, 8, ["option", "chart-style"]));
}
}), i = p;
export {
i as default
};