antvis/G6VP

BUG: Cypher 语句查询的初始设置无效

topsecwp opened this issue · 0 comments

在组件的Cypher 语句查询中设置了初始语句,但保存后重新加载时,Cypher 语句查询面板中的内容还是原始内容。内容如下:
MATCH (n:Domain)
WHERE n.id in ['Domain_c58c149eec59bb14b0c102a0f303d4c20366926b5c3206555d2937474124beb9','Domain_f3554b666038baffa5814c319d3053ee2c2eb30d31d0ef509a1a463386b69845']
RETURN n

另外,发布成模板也无效,点击后会报错:
Error: Gremlin Editor ID do not be undefined
at index.min.js:2:3402623
at Tj (react-dom.production.min.js:179:399)
at unstable_runWithPriority (react.production.min.js:24:26)
at Za (react-dom.production.min.js:73:8)
at Ra (react-dom.production.min.js:178:368)
at gf (react-dom.production.min.js:161:497)
at react-dom.production.min.js:73:230
at unstable_runWithPriority (react.production.min.js:24:26)
at Za (react-dom.production.min.js:73:8)
at $g (react-dom.production.min.js:73:176)
Ye @ react-dom.production.min.js:141
Nh.f.componentDidCatch.c.callback @ react-dom.production.min.js:142
dh @ react-dom.production.min.js:80
Bj @ react-dom.production.min.js:144
Qj @ react-dom.production.min.js:176
unstable_runWithPriority @ react.production.min.js:24
Za @ react-dom.production.min.js:73
eb @ react-dom.production.min.js:170
gf @ react-dom.production.min.js:162
(匿名) @ react-dom.production.min.js:73
unstable_runWithPriority @ react.production.min.js:24
Za @ react-dom.production.min.js:73
$g @ react-dom.production.min.js:73
ja @ react-dom.production.min.js:73
vk.Events.current @ react-dom.production.min.js:240
Ki @ react-dom.production.min.js:44
graphin.min.js:1 Catch component error: Error: Gremlin Editor ID do not be undefined
at index.min.js:2:3402623
at Tj (react-dom.production.min.js:179:399)
at unstable_runWithPriority (react.production.min.js:24:26)
at Za (react-dom.production.min.js:73:8)
at Ra (react-dom.production.min.js:178:368)
at gf (react-dom.production.min.js:161:497)
at react-dom.production.min.js:73:230
at unstable_runWithPriority (react.production.min.js:24:26)
at Za (react-dom.production.min.js:73:8)
at $g (react-dom.production.min.js:73:176) {componentStack: '\n at P (https://gw.alipayobjects.com/os/lib/ant…yan/180020010001208086/umi.850bf8cc.js:1:2229707)'}
componentDidCatch @ graphin.min.js:1
Nh.f.componentDidCatch.c.callback @ react-dom.production.min.js:142
dh @ react-dom.production.min.js:80
Bj @ react-dom.production.min.js:144
Qj @ react-dom.production.min.js:176
unstable_runWithPriority @ react.production.min.js:24
Za @ react-dom.production.min.js:73
eb @ react-dom.production.min.js:170
gf @ react-dom.production.min.js:162
(匿名) @ react-dom.production.min.js:73
unstable_runWithPriority @ react.production.min.js:24
Za @ react-dom.production.min.js:73
$g @ react-dom.production.min.js:73
ja @ react-dom.production.min.js:73
vk.Events.current @ react-dom.production.min.js:240
Ki @ react-dom.production.min.js:44
graphin.min.js:1 effect..remove....