You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
456 B
Vue
27 lines
456 B
Vue
<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>
|