浏览代码

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

江天明 11 月之前
父节点
当前提交
b764e1aa1e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      BusinessStep/src/main/java/com/develop/step/viewmodel/FoodListViewModel.kt

+ 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,