Commit 7598e2b6 authored by 成旭东's avatar 成旭东

fix

parent 336176d0
Pipeline #28020 passed with stage
in 3 minutes 36 seconds
......@@ -137,7 +137,7 @@ const DrawerForm = (props: any) => {
<Input />
</FormItem>
<FormItem
name="collection_num"
name="virtual_collection_num"
label="虚拟收藏数"
rules={[
{
......@@ -149,7 +149,7 @@ const DrawerForm = (props: any) => {
<InputNumber />
</FormItem>
<FormItem
name="share_num"
name="virtual_share_num"
label="虚拟分享数"
rules={[
{
......@@ -161,7 +161,7 @@ const DrawerForm = (props: any) => {
<InputNumber />
</FormItem>
<FormItem
name="read_num"
name="virtual_read_num"
label="虚拟浏览量"
rules={[
{
......@@ -510,19 +510,37 @@ const VideoList: React.FC<any> = (props) => {
dataIndex: 'read_num',
key: 'read_num',
width: 100,
render: (text: any) => (text || '-')
render: (text: any) => (text || '0')
}, {
title: '虚拟视频浏览量',
dataIndex: 'virtual_read_num',
key: 'virtual_read_num',
width: 100,
render: (text: any) => (text || '0')
}, {
title: '收藏数',
dataIndex: 'collection_num',
key: 'collection_num',
width: 100,
render: (text: any) => (text || '-')
render: (text: any) => (text || '0')
}, {
title: '虚拟收藏数',
dataIndex: 'virtual_collection_num',
key: 'virtual_collection_num',
width: 100,
render: (text: any) => (text || '0')
}, {
title: '分享次数',
dataIndex: 'share_num',
key: 'share_num',
width: 100,
render: (text: any) => (text || '-')
render: (text: any) => (text || '0')
}, {
title: '虚拟分享次数',
dataIndex: 'virtual_share_num',
key: 'virtual_share_num',
width: 100,
render: (text: any) => (text || '0')
}, {
title: '首页推荐',
dataIndex: 'is_recommend',
......@@ -597,7 +615,7 @@ const VideoList: React.FC<any> = (props) => {
columns={projectColumns}
onChange={handleStandardTableChange}
pagination={videoData.pagination}
scroll={{ x: 1010 }}
scroll={{ x: 1310 }}
/>
</Card>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment