1774767884
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
<%*
|
||||
const monthDay = tp.date.now("MMDD");
|
||||
const name = await tp.system.prompt("笔记名称", "");
|
||||
if (name) {
|
||||
await tp.file.rename(monthDay + "-" + name);
|
||||
}
|
||||
-%>
|
||||
---
|
||||
日期: <% tp.date.now("YYYY-MM-DD HH:mm") %>
|
||||
来源:
|
||||
|
||||
Reference in New Issue
Block a user