diff --git a/src/components/func/confirm.vue b/src/components/func/confirm.vue index b9612967..2bcdb170 100644 --- a/src/components/func/confirm.vue +++ b/src/components/func/confirm.vue @@ -85,6 +85,9 @@ async function displayBox( data.text = params.text ?? ""; data.mode = params.mode ?? "confirm"; data.otcancel = params.otcancel ?? true; + if (params.mode === "input" && params.input) { + inputVal.value = params.input; + } show.value = true; // 等待确认框关闭,返回关闭后的confirmVal return await new Promise((resolve) => { diff --git a/src/components/main/t-postcard.vue b/src/components/main/t-postcard.vue index 461cb7e2..21f5b3e2 100644 --- a/src/components/main/t-postcard.vue +++ b/src/components/main/t-postcard.vue @@ -42,21 +42,30 @@ {{ card.forum.name }} + +
+ +