升级element-plus到最新版本1.2.0-beta.6

This commit is contained in:
RuoYi 2021-12-17 14:28:14 +08:00
parent d366a5046d
commit f3b1470a5c
3 changed files with 3 additions and 4 deletions

View File

@ -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",

View File

@ -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)

View File

@ -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)