🚸 添加 添加节点后自动刷新 功能
This commit is contained in:
1 parent
68ec85c6c7
commit
0055ffb17f
1 file changed
+2
@@ -85,6 +85,8 @@ async function addNode(token, pid, title, content) {
|
||||
throw new Error(result.message || `添加节点失败(HTTP ${res.status})`);
|
||||
}
|
||||
|
||||
getNode(token, stack[stack.length - 1]).then(load_notes);
|
||||
|
||||
//if (result.success) {
|
||||
console.log(`添加节点成功`, result);
|
||||
return result
|
||||
|
||||
Reference in new issue
Block a user