fix: 修两个 bug
1. ArticleRead.user_id 改 Integer(users.id 是 Integer,不是 BigInteger) alembic 0007 同样改 Integer 2. ArticleDetail.vue toggleRead 重复 catch 块导致 build 失败 (edit 时新加的 catch 跟 toggleStar 残留的 catch 撞了)
This commit is contained in:
@@ -73,9 +73,6 @@ async function toggleRead() {
|
||||
article.value.is_read = wasRead
|
||||
message.error(e?.response?.data?.title || '操作失败')
|
||||
}
|
||||
} catch (e: any) {
|
||||
message.error(e?.response?.data?.title || '操作失败')
|
||||
}
|
||||
}
|
||||
|
||||
function fmtTime(s?: string | null) {
|
||||
|
||||
Reference in New Issue
Block a user