mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-13 09:28:14 +08:00
🐛 调整不存在时的默认 id
This commit is contained in:
@@ -136,7 +136,7 @@ onMounted(() => {
|
||||
function toOuter(cardName: string, cardId: number): void {
|
||||
console.log(cardName, cardId);
|
||||
// 若不存在 contentId
|
||||
if (cardId === -1) {
|
||||
if (cardId === 0) {
|
||||
showSnackbar({
|
||||
text: "该卡牌暂无外部链接",
|
||||
color: "error",
|
||||
|
||||
Reference in New Issue
Block a user