刘洋 2 年之前
父节点
当前提交
b4c475712e
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 }>()