fix(window): 更改创建逻辑

Signed-off-by: BTMuli <BT-Muli@outlook.com>
This commit is contained in:
BTMuli
2023-04-05 14:21:05 +08:00
parent 1fafbd4612
commit e7d293f83b
8 changed files with 32 additions and 19 deletions

View File

@@ -146,7 +146,7 @@ function getLastPoolTime(time: number) {
return `${hour}:${minute.toFixed(0).padStart(2, "0")}:${second.toFixed(0).padStart(2, "0")}`;
}
async function toPost(pool: GachaCard) {
function toPost(pool: GachaCard) {
const path = router.resolve({
name: "帖子详情",
params: {