fix: fix build handler & misc (#1060)

* fix(type): fix ant-design-vue  ->

* fix: fix build handler & misc
This commit is contained in:
CXM
2021-08-12 23:23:44 +08:00
committed by GitHub
parent 948219c576
commit 66feb779a8
3 changed files with 4 additions and 3 deletions

View File

@@ -97,7 +97,6 @@
const current = ref(props.currentPage || 1);
const getData = computed(() => {
const { pageSize, list } = props;
console.log('refreshData', list);
if (pageSize === false) return [];
let size = isNumber(pageSize) ? pageSize : 5;
return list.slice(size * (unref(current) - 1), size * unref(current));