💄 添加图标

This commit is contained in:
BTMuli
2026-02-24 23:16:28 +08:00
parent 6363d8d1a2
commit 07c45ea9ca
3 changed files with 11 additions and 3 deletions

View File

@@ -2,6 +2,7 @@
* ESLint 配置文件
* @since Beta v0.9.3
*/
import { defineConfig } from "eslint/config";
import eslintPluginJsonc from "eslint-plugin-jsonc";
import eslintPluginJs from "@eslint/js";
import eslintPluginTs from "typescript-eslint";
@@ -11,7 +12,7 @@ import eslintConfigJson from "./eslint/jsonEslint.js";
import eslintConfigVue from "./eslint/vueEslint.js";
import eslintConfigYml from "./eslint/ymlEslint.js";
export default [
export default defineConfig([
eslintPluginJs.configs.recommended,
...eslintPluginJsonc.configs["flat/recommended-with-jsonc"],
...eslintPluginTs.configs.recommended,
@@ -31,4 +32,4 @@ export default [
".github",
],
},
];
]);

View File

@@ -47,7 +47,11 @@
icon="/icon/material/220005.webp"
title="解锁传送点"
/>
<TurOverviewSub :text="modelValue.domainNumber" title="解锁秘境" />
<TurOverviewSub
:text="modelValue.domainNumber"
icon="/UI/nav/userAbyssLab.webp"
title="解锁秘境"
/>
<TurOverviewSub
:text="modelValue.moonCulus"
icon="/icon/material/107030.webp"

View File

@@ -438,6 +438,7 @@ async function refresh(): Promise<void> {
loadData.value = true;
await showLoading.update("正在刷新首页数据");
const indexRes = await recordReq.index(rfCk!, rfAccount, 1);
console.log(indexRes);
if ("retcode" in indexRes) {
showSnackbar.error(`[${indexRes.retcode}] ${indexRes.message}`);
await TGLogger.Error(JSON.stringify(indexRes));
@@ -447,6 +448,7 @@ async function refresh(): Promise<void> {
}
await showLoading.update("正在获取角色列表");
const listRes = await recordReq.character.list(rfCk!, rfAccount);
console.log(listRes);
if (!Array.isArray(listRes)) {
showSnackbar.error(`[${listRes.retcode}] ${listRes.message}`);
await TGLogger.Error(`[Character][refresh][${rfAccount.gameUid}] 获取角色列表失败`);
@@ -460,6 +462,7 @@ async function refresh(): Promise<void> {
const idList = listRes.map((i) => i.id.toString());
await showLoading.update(`${idList.length}个角色,正在获取角色详情`);
const res = await recordReq.character.detail(rfCk!, rfAccount, idList);
console.log(res);
if ("retcode" in res) {
showSnackbar.error(`[${res.retcode}] ${res.message}`);
await TGLogger.Error(`[Character][refresh][${rfAccount.gameUid}] 获取角色数据失败`);