🚨 解决Qodana报错

This commit is contained in:
目棃
2024-09-06 09:24:36 +08:00
parent 6b4b1c0b25
commit 8acdebebf2
14 changed files with 699 additions and 829 deletions

View File

@@ -102,7 +102,8 @@ function switchMaterial(isNext: boolean) {
text: `材料 ${curItem.name} 暂无详细信息`,
color: "warn",
});
isNext ? curIndex.value-- : curIndex.value++;
if (isNext) curIndex.value--;
else curIndex.value++;
}
</script>
<style lang="css" scoped>