mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2024-11-01 06:02:38 +08:00
任务数据为空显示
This commit is contained in:
parent
e2a336776a
commit
d95b01e3ab
@ -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])"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user