任务数据为空显示

This commit is contained in:
ap 2022-02-23 18:40:58 +08:00
parent e2a336776a
commit d95b01e3ab

View File

@ -315,6 +315,9 @@ export default defineComponent({
// //
function moreList(res: any, { list, pagination }: any) { function moreList(res: any, { list, pagination }: any) {
if (!res) {
return;
}
const { page, size } = res.pagination; const { page, size } = res.pagination;
const len = res.list.length; const len = res.list.length;
const max = list.length; const max = list.length;
@ -490,7 +493,7 @@ export default defineComponent({
component: { component: {
name: "el-input", name: "el-input",
props: { props: {
placeholder: "sys.test.add(params)" placeholder: "taskDemoService.test([1,2])"
} }
} }
}, },