刘洋 2 years ago
parent
commit
b4c475712e
1 changed files with 1 additions and 1 deletions
  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 }>()