细节调整
This commit is contained in:
@@ -157,7 +157,7 @@ const loadData = async () => {
|
||||
};
|
||||
|
||||
const strengthText = computed(() => {
|
||||
return strength === 10 ? "重度" : strength <= 6 ? "中度" : "轻度";
|
||||
return strength.value > 10 ? "重度" : strength.value >= 6 ? "中度" : "轻度";
|
||||
});
|
||||
|
||||
watch(
|
||||
|
||||
Reference in New Issue
Block a user