This commit is contained in:
Tuan Cao 2022-04-18 17:47:15 +07:00
parent eecb943b79
commit 43d1b12d17

View File

@ -96,8 +96,8 @@ function Graph({graph}) {
var node = evt.target; var node = evt.target;
let nodeData = node.data(); let nodeData = node.data();
if (typeof nodeData.id === 'string') { if (typeof nodeData.id === 'string') {
router.path = '/note/' + node.data().id const path = '/note/' + node.data().id
router.reload() router.push(path)
} }
}); });
}} }}