From d95b01e3ab094d53784feee9a0bd3cbe0dfca248 Mon Sep 17 00:00:00 2001 From: ap <951984189@qq.com> Date: Wed, 23 Feb 2022 18:40:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E6=95=B0=E6=8D=AE=E4=B8=BA?= =?UTF-8?q?=E7=A9=BA=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/cool/modules/task/views/task.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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])" } } },