轮播图修改3
This commit is contained in:
parent
f27ae1ea4e
commit
c443671434
@ -8,7 +8,7 @@
|
||||
</a-space>
|
||||
</div>
|
||||
|
||||
<a-table :row-selection="rowSelection" :columns="columns" :data-source="states.data" :pagination="pagination" :scroll="{ y: 430}" style="width: 85vw;">
|
||||
<a-table :row-selection="rowSelection" :columns="columns" :data-source="states.data" :pagination="pagination" :scroll="{ x:0,y: 430}" style="width: 85vw;">
|
||||
|
||||
|
||||
<template #bodyCell="{ column, record }">
|
||||
@ -179,7 +179,7 @@ const columns = [
|
||||
dataIndex: 'photo',
|
||||
resizable: true,
|
||||
width: 150,
|
||||
// maxWidth: 150,
|
||||
maxWidth: 150,
|
||||
|
||||
},
|
||||
{
|
||||
@ -187,20 +187,21 @@ const columns = [
|
||||
dataIndex: 'title',
|
||||
key: 'title',
|
||||
width:150,
|
||||
// maxWidth: 150,
|
||||
maxWidth: 150,
|
||||
},
|
||||
{
|
||||
title: '创建时间',
|
||||
dataIndex: 'createdAt',
|
||||
key: 'createdAt',
|
||||
width:200,
|
||||
// maxWidth: 150,
|
||||
maxWidth: 200,
|
||||
},
|
||||
{
|
||||
title: '图片地址',
|
||||
dataIndex: 'image',
|
||||
key: 'image',
|
||||
width:250,
|
||||
maxWidth: 250
|
||||
|
||||
},
|
||||
{
|
||||
@ -208,14 +209,14 @@ const columns = [
|
||||
dataIndex: 'displayOrder',
|
||||
key: 'displayOrder',
|
||||
width:80,
|
||||
// maxWidth: 80,
|
||||
maxWidth: 80,
|
||||
},
|
||||
{
|
||||
title: '状态',
|
||||
key: 'isActive',
|
||||
dataIndex: 'isActive',
|
||||
width: 80,
|
||||
// maxWidth: 80,
|
||||
maxWidth: 80,
|
||||
},
|
||||
{
|
||||
title: '操作',
|
||||
|
Loading…
x
Reference in New Issue
Block a user