mirror of
https://gitee.com/antv/g6.git
synced 2024-12-02 19:58:46 +08:00
fix: use const define variable
This commit is contained in:
parent
2822cd23a5
commit
c8ba38cc8e
@ -75,7 +75,7 @@ export default {
|
||||
},
|
||||
clearActiveState(e: any) {
|
||||
// avoid clear state frequently, it costs a lot since all the items' states on the graph need to be cleared
|
||||
var shouldClearStatusOnSecond = this.shouldClearStatusOnSecond;
|
||||
const shouldClearStatusOnSecond = this.shouldClearStatusOnSecond;
|
||||
if (shouldClearStatusOnSecond) {
|
||||
clickNodeId = null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user