fix: update option type in re-initialization test case

This commit is contained in:
Justineo
2025-10-11 23:08:11 +08:00
committed by GU Yiling
parent c9746c2c2f
commit 20a70c8a6d

View File

@ -151,7 +151,7 @@ describe("ECharts component", () => {
});
it("re-initializes manual chart from option prop after reinit", async () => {
const option = ref<Required<Option>>({
const option = ref<Option>({
title: { text: "base" },
series: [{ type: "bar", data: [1] }],
});