修复bug
This commit is contained in:
parent
f34fc10321
commit
a7246c4dbc
|
@ -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,
|
||||
}));
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<template>
|
||||
消息管理
|
||||
消息管理
|
||||
</template>
|
Loading…
Reference in New Issue
Block a user