add lightbox
Some checks failed
Deploy / deploy (build, debian, 22, /root/OJDeploy/data/clientnext) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822, /root/OJ/data/dist) (push) Has been cancelled

This commit is contained in:
2026-04-02 07:05:54 -06:00
parent 52f274fdc9
commit 2ba77e7465
3 changed files with 57 additions and 23 deletions

View File

@@ -58,7 +58,11 @@ watch(
// AC 或失败次数 >= 3 时加载推荐
watch(
() => [problem.value?._id, problem.value?.my_status, problemStore.totalFailCount],
() => [
problem.value?._id,
problem.value?.my_status,
problemStore.totalFailCount,
],
([, status, failCount]) => {
if (status === 0 || (failCount as number) >= 3) {
loadSimilarProblems()