刘洋 %!s(int64=2) %!d(string=hai) anos
pai
achega
b4c475712e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 }>()