|
@@ -734,7 +734,7 @@
|
|
|
item.content = content.replaceAll("#" + cTag + " ", "");
|
|
|
// 最少有一个标签
|
|
|
if (!item.content.includes("#")) {
|
|
|
- item.content = "#tmp " + item.content;
|
|
|
+ item.content = "#todo " + item.content;
|
|
|
}
|
|
|
// 提交记录
|
|
|
let res = requestUtil.sync(
|
|
@@ -862,9 +862,9 @@
|
|
|
}
|
|
|
// updatedContent 去除尾部的\n,可能有多个
|
|
|
updatedContent = updatedContent.replace(/\n+$/, "");
|
|
|
- // updatedContent 最少有一个标签,如果没有就添加一个标签 #tmp,检测是否有 #标签
|
|
|
+ // updatedContent 最少有一个标签,如果没有就添加一个标签 #todo,检测是否有 #标签
|
|
|
if (!updatedContent.includes("#")) {
|
|
|
- updatedContent = "#tmp " + updatedContent;
|
|
|
+ updatedContent = "#todo " + updatedContent;
|
|
|
}
|
|
|
|
|
|
let res = requestUtil.sync(
|