✏️ itemType 收束

This commit is contained in:
BTMuli
2023-11-06 22:49:42 +08:00
parent db36d18df2
commit 349bab1173
2 changed files with 8 additions and 9 deletions

View File

@@ -74,7 +74,7 @@ const onCancel = (): void => {
function toDetail(item: TGApp.App.Calendar.Item): void {
if (item.contentId === 0) {
const itemType = item.itemType === "avatar" ? "角色" : "武器";
const itemType = item.itemType === "character" ? "角色" : "武器";
showSnackbar({
text: `[${itemType}] ${item.name} 暂无详情`,
color: "warn",