Commit 7ff59210 authored by Chunchi Che's avatar Chunchi Che

update small

parent 70b4af60
...@@ -55,8 +55,8 @@ export async function fetchCard(id: number): Promise<CardMeta> { ...@@ -55,8 +55,8 @@ export async function fetchCard(id: number): Promise<CardMeta> {
return res.selectResult ? res.selectResult : { id, data: {}, text: {} }; return res.selectResult ? res.selectResult : { id, data: {}, text: {} };
} }
// TS检查错误,先注释掉 // @ts-ignore
// window.fetchCard = fetchCard; window.fetchCard = fetchCard;
export function getCardStr(meta: CardMeta, idx: number): string | undefined { export function getCardStr(meta: CardMeta, idx: number): string | undefined {
switch (idx) { switch (idx) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment