From 70e7aae00525c3d95d886e3bb591cb8b2ef897f9 Mon Sep 17 00:00:00 2001 From: unanmed <1319491857@qq.com> Date: Fri, 24 Feb 2023 14:28:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=A3=85=E5=A4=87=E6=A0=8F?= =?UTF-8?q?=E7=9A=84=E4=B8=80=E4=B8=AAbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/data/achievement.json | 9 +++++++++ src/ui/equipbox.vue | 3 +++ 2 files changed, 12 insertions(+) diff --git a/src/data/achievement.json b/src/data/achievement.json index 09b9015..7652be4 100644 --- a/src/data/achievement.json +++ b/src/data/achievement.json @@ -75,6 +75,15 @@ "hide": "该探索成就需要你自己探索如何达成", "progress": "", "point": 50 + }, + { + "name": "没货了!", + "text": [ + "尝试连续购买已卖空的物品三次" + ], + "hide": "该探索成就需要你自己探索如何达成", + "progress": "", + "point": 20 } ] } \ No newline at end of file diff --git a/src/ui/equipbox.vue b/src/ui/equipbox.vue index 1aedc13..0d6e20b 100644 --- a/src/ui/equipbox.vue +++ b/src/ui/equipbox.vue @@ -376,6 +376,9 @@ function loadEquip() { function update() { equiped.value = core.status.hero.equipment; equips.value = getEquips(); + requestAnimationFrame(() => { + bind(); + }); } // ----- 绑定函数