G6: updateItem会报错

Created on 5 Mar 2021  ·  1Comment  ·  Source: antvis/G6

描述

使用updateItem函数就会报错

image

代码

                graph.on('node:drag', e => {
                    console.log(e)
                    graph.updateItem(e.item, {
                        x: e.x,
                        y: e.y
                    })
                });

Most helpful comment

删掉依赖重装一下 v4.1.14 试试

>All comments

删掉依赖重装一下 v4.1.14 试试

Was this page helpful?
0 / 5 - 0 ratings