升级element-plus到最新版本1.2.0-beta.6
This commit is contained in:
parent
d366a5046d
commit
f3b1470a5c
|
@ -19,7 +19,7 @@
|
|||
"@vueuse/core": "6.4.1",
|
||||
"axios": "0.24.0",
|
||||
"echarts": "5.2.1",
|
||||
"element-plus": "1.2.0-beta.3",
|
||||
"element-plus": "1.2.0-beta.6",
|
||||
"file-saver": "2.0.5",
|
||||
"fuse.js": "6.4.6",
|
||||
"js-cookie": "3.0.1",
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<el-pagination
|
||||
:background="background"
|
||||
v-model:current-page="currentPage"
|
||||
:page-size="pageSize"
|
||||
v-model:page-size="pageSize"
|
||||
:layout="layout"
|
||||
:page-sizes="pageSizes"
|
||||
:pager-count="pagerCount"
|
||||
|
@ -77,7 +77,6 @@ const pageSize = computed({
|
|||
}
|
||||
})
|
||||
function handleSizeChange(val) {
|
||||
pageSize.value = val
|
||||
emit('pagination', { page: currentPage.value, limit: val })
|
||||
if (props.autoScroll) {
|
||||
scrollTo(0, 800)
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
const tagAndTagSpacing = ref(4);
|
||||
const { proxy } = getCurrentInstance();
|
||||
|
||||
const scrollWrapper = computed(() => proxy.$refs.scrollContainer.$refs.wrap);
|
||||
const scrollWrapper = computed(() => proxy.$refs.scrollContainer.$refs.wrap$);
|
||||
|
||||
onMounted(() => {
|
||||
scrollWrapper.value.addEventListener('scroll', emitScroll, true)
|
||||
|
|
Loading…
Reference in New Issue