修复bug

This commit is contained in:
yannqing 2024-02-01 00:46:23 +08:00
parent f34fc10321
commit a7246c4dbc
2 changed files with 8 additions and 7 deletions

View File

@ -8,7 +8,7 @@
</a-space>
</div>
<a-table :row-selection="rowSelection" :columns="columns" :data-source="states.data" :scroll="{ y: 400 }" style="width: 85vw;">
<a-table :row-selection="rowSelection" :columns="columns" :data-source="states.data" :pagination="pagination" style="width: 85vw;">
<template #bodyCell="{ column, record }">
@ -119,18 +119,15 @@
</div>
</a-upload>
</div>
<span style="color: red;font-size: 20px">*</span>状态
<a-radio-group v-model:value="formState.resource">
<a-radio value="1">展示</a-radio>
<a-radio value="2">未展示</a-radio>
</a-radio-group>
</a-modal>
</template>
<script setup>
import {createVNode, onMounted, reactive, ref} from 'vue';
import {computed, createVNode, onMounted, reactive, ref} from 'vue';
import {
DeleteOutlined,
EditOutlined,
@ -155,7 +152,11 @@ const showAddModal = () => {
};
// //
const pagination = computed(() => ({
total: states.data.length,
// current: current.value,
pageSize: 5,
}));

View File

@ -1,3 +1,3 @@
<template>
消息管理
消息管理
</template>