🔥 移除部分TODO

This commit is contained in:
目棃
2024-09-07 09:55:59 +08:00
parent fb1b46859a
commit 2edbf77824
8 changed files with 3 additions and 9 deletions

View File

@@ -128,7 +128,6 @@ function parseNamecard(desc: string): string {
function parseDesc(desc: string, inQuote: boolean = false): string[] {
let res = desc.replace(/。/g, "。\n");
res = res.replace(//g, "\n");
// todo 正则优化
if (props?.data?.index !== 187) {
res = res.replace(//g, "\n");
res = res.replace(//g, "\n");

View File

@@ -100,7 +100,6 @@ async function deleteCollect(item: TGApp.Sqlite.UserCollection.UFCollection): Pr
});
return;
}
// todo,这边暂时将默认force设为false后续需要根据需求修改
const resD = await TSUserCollection.deleteCollect(item.title, false);
if (resD) {
showSnackbar({