Browse Source

提交人:jtm
提交内容:优化

江天明 11 months ago
parent
commit
b764e1aa1e

+ 1 - 1
BusinessStep/src/main/java/com/develop/step/viewmodel/FoodListViewModel.kt

@@ -89,7 +89,7 @@ class FoodListViewModel : BaseViewModel() {
                 FoodContentModel(
                     it.photoPath ?: "",
                     it.name ?: "",
-                    3,
+                    it.score?.toInt() ?: 5,
                     getTime(it.makeHours ?: 0, it.makeMinutes ?: 0),
                     it.difficultyLevel ?: "",
                     isLike = false,