diff --git a/src/cool/modules/task/views/task.vue b/src/cool/modules/task/views/task.vue index fd651a2..4a1fa83 100644 --- a/src/cool/modules/task/views/task.vue +++ b/src/cool/modules/task/views/task.vue @@ -315,6 +315,9 @@ export default defineComponent({ // 更多列表 function moreList(res: any, { list, pagination }: any) { + if (!res) { + return; + } const { page, size } = res.pagination; const len = res.list.length; const max = list.length; @@ -490,7 +493,7 @@ export default defineComponent({ component: { name: "el-input", props: { - placeholder: "sys.test.add(params)" + placeholder: "taskDemoService.test([1,2])" } } },