修复bug
This commit is contained in:
parent
f34fc10321
commit
a7246c4dbc
@ -8,7 +8,7 @@
|
|||||||
</a-space>
|
</a-space>
|
||||||
</div>
|
</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 }">
|
<template #bodyCell="{ column, record }">
|
||||||
@ -119,18 +119,15 @@
|
|||||||
</div>
|
</div>
|
||||||
</a-upload>
|
</a-upload>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<span style="color: red;font-size: 20px">*</span>状态
|
<span style="color: red;font-size: 20px">*</span>状态
|
||||||
<a-radio-group v-model:value="formState.resource">
|
<a-radio-group v-model:value="formState.resource">
|
||||||
<a-radio value="1">展示</a-radio>
|
<a-radio value="1">展示</a-radio>
|
||||||
<a-radio value="2">未展示</a-radio>
|
<a-radio value="2">未展示</a-radio>
|
||||||
</a-radio-group>
|
</a-radio-group>
|
||||||
|
|
||||||
</a-modal>
|
</a-modal>
|
||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
import {createVNode, onMounted, reactive, ref} from 'vue';
|
import {computed, createVNode, onMounted, reactive, ref} from 'vue';
|
||||||
import {
|
import {
|
||||||
DeleteOutlined,
|
DeleteOutlined,
|
||||||
EditOutlined,
|
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>
|
||||||
消息管理
|
消息管理
|
||||||
</template>
|
</template>
|
Loading…
x
Reference in New Issue
Block a user