🐛 调整不存在时的默认 id

This commit is contained in:
BTMuli
2023-12-18 13:53:55 +08:00
parent dced5755da
commit 0a33f468a3

View File

@@ -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",