升级element-plus到最新版本1.2.0-beta.6
| | |
| | | "@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",
|
| | |
| | | <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"
|
| | |
| | | }
|
| | | })
|
| | | function handleSizeChange(val) {
|
| | | pageSize.value = val
|
| | | emit('pagination', { page: currentPage.value, limit: val })
|
| | | if (props.autoScroll) {
|
| | | scrollTo(0, 800)
|
| | |
| | | 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)
|