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