mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-13 09:28:14 +08:00
🔥 移除部分TODO
This commit is contained in:
@@ -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");
|
||||
|
||||
@@ -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({
|
||||
|
||||
@@ -50,7 +50,6 @@
|
||||
<div class="uc-top-title">
|
||||
<span v-if="user">
|
||||
{{ user.nickname }} UID:{{ user.gameUid }} 更新于 {{ getUpdateTime() }}
|
||||
<!-- todo 展示筛选条件 -->
|
||||
</span>
|
||||
<span v-else> 暂无数据 </span>
|
||||
</div>
|
||||
|
||||
@@ -39,7 +39,6 @@ const id = useRoute().params.id.toString() ?? "0";
|
||||
const showSelect = ref(false);
|
||||
const resetSelect = ref(false);
|
||||
const cardsInfo = ref(AppCharacterData);
|
||||
// todo,这边赋予了默认值,需要经过测试
|
||||
const curItem = ref<TGApp.App.Character.WikiBriefInfo>({
|
||||
id: 0,
|
||||
contentId: 0,
|
||||
|
||||
@@ -42,7 +42,6 @@ const id = useRoute().params.id.toString() ?? "0";
|
||||
const showSelect = ref(false);
|
||||
const resetSelect = ref(false);
|
||||
const cardsInfo = ref(AppWeaponData);
|
||||
// todo,这边赋予了默认值,需要经过测试
|
||||
const curItem = ref<TGApp.App.Weapon.WikiBriefInfo>({
|
||||
id: 0,
|
||||
contentId: 0,
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
<template>
|
||||
<!-- todo ui 优化 -->
|
||||
<ToLoading v-model="loading" :title="loadingTitle" :subtitle="loadingSub" />
|
||||
<div class="config-box">
|
||||
<TcInfo />
|
||||
|
||||
@@ -247,8 +247,7 @@ async function freshPostData(): Promise<void> {
|
||||
|
||||
function freshCurForum(newVal: string): void {
|
||||
const forum = forumList[curGameLabel.value];
|
||||
// todo,这边需要优化逻辑以经过测试,目前暂时ignore
|
||||
// @ts-expect-error-next-line Vue: Element implicitly has an any type because expression of type string can't be used to index type
|
||||
// @ts-expect-error-next-line
|
||||
curForum.value = forum[newVal];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user