Zhu Zhonghua
2025-04-08 b7b74869c95ff2605f06ea59727ea31691011127
src/components/HxlhTable/index.vue
@@ -94,7 +94,7 @@
page: {
    type: Object,
    default: function() {
    return null
        return null
    }
},
checkboxConfig: {
@@ -137,7 +137,7 @@
const tableForm = ref([]);
const height = ref(document.documentElement.clientHeight - 94.5 + "px;")
const height = ref(document.documentElement.clientHeight - 120 + "px;")
// const url = computed(() => props.src)
const emit = defineEmits();
@@ -198,15 +198,14 @@
  if (!props.page) {
    return;
  }
  console.log(props.page);
  console.log(props.page.total);
  return {
    total: props.page.total,
    currentPage: props.page.current,
    pageSize: props.page.size,
    align: 'left',
    pageSizes: [10, 20, 50, 100, 500],
    layouts: ['PrevJump', 'PrevPage', 'Number', 'NextPage', 'NextJump', 'Sizes', 'FullJump', 'Total'],
    perfect: true
    layouts: ['PrevJump', 'PrevPage', 'Number', 'NextPage', 'NextJump', 'Sizes', 'FullJump', 'Total']
  };
});
@@ -217,7 +216,7 @@
</script>
<style lang="less">
<style lang="scss">
  .hxlh-table .vxe-toolbar .vxe-tools--operate {
    margin-top: -23px;
  }