<template>
	<view class="myTable">
		<wd-pagination v-model="value" :total="total" :page-size="page" @change="handleChange" show-icon show-message />
	</view>
</template>

<script setup>
import { ref } from 'vue'

const props = defineProps({
	apiObj: {
		type: Function,
		default: () => (() => { })
	}
})

const value = ref("")
const total = ref(0)
const page = ref(1)

function handleChange(e) {
	console.log(e);
}
</script>

<style lang="scss"></style>
