🚸 添加 添加节点后自动清空输入框 功能
This commit is contained in:
1 parent
0055ffb17f
commit
234e4340c4
1 file changed
+2
@@ -173,6 +173,8 @@ input_note_submit.addEventListener('click', function(event) {
|
|||||||
alert(pid)
|
alert(pid)
|
||||||
addNode(token, pid, title, content).then(result => {
|
addNode(token, pid, title, content).then(result => {
|
||||||
alert(result.message);
|
alert(result.message);
|
||||||
|
input_note_title.value = "";
|
||||||
|
input_note_content.value = "";
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user