Skip to content

Commit 8777a1c

Browse files
committed
修复图线删除出错
1 parent 6e236a4 commit 8777a1c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/editor/data.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,9 @@ watch(fnType, (newFnType) => {
147147
graphType: newGraphType,
148148
});
149149
});
150+
150151
watch(
151-
() => self.value.graphType,
152+
() => props.self.graphType,
152153
(newGraphType) => {
153154
if (newGraphType === "scatter" && "closed" in self.value)
154155
self.value.closed = false;

0 commit comments

Comments
 (0)