This commit is contained in:
zlong committed 2024-11-25 22:34:27 +08:00
1 parent a859521682
commit 7e407f68a6
2 files changed
+11 -8

No files matched your search

+7 -7
View File
@@ -28,21 +28,21 @@ const columns: BaseTableColumns = [
width: 100,
}
]
const loading = ref(false)
const loading = ref<boolean>(false)
const data = ref([])
const pagination = reactive({
const pagination = reactive<{page:number,size:number,total:number}>({
page: 1,
size: 10,
total:0
})
const query = reactive({
const query = reactive<{page:number,size:number}>({
page:1,
size:10,
})
const carousalDialogVisible = ref(false)
const isEdit = ref(false)
const currentTableData = ref<{}>({})
const fetchSaveCarousalData = async () => {
const carousalDialogVisible = ref<boolean>(false)
const isEdit = ref<boolean>(false)
const currentTableData = ref<object>({})
const fetchSaveCarousalData = async () :Promise<void> => {
/* TODO: 获取轮播图表格数据 */
query.page = pagination.page
query.size = pagination.size