刘洋 2 năm trước cách đây
mục cha
commit
b4c475712e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/components/shared/RemarkListModal.vue

+ 1 - 1
src/components/shared/RemarkListModal.vue

@@ -53,7 +53,7 @@ type HistoryTask = ExtractArrayValue<ExtractApiResponse<'getMarkHistory'>>
 const markHistoryList = ref<any>([])
 const getMarkHistory = async () => {
   let res = await useFetch('getMarkHistory').fetch()
-  markHistoryList.value = res.enableRemark ? res.markHistoryList : []
+  markHistoryList.value = res.markHistoryList
 }
 
 const props = defineProps<{ modelValue: boolean }>()