Commit cbd723a9 authored by 卢均锐's avatar 卢均锐

chore: 采购竞价不需要缓存的列表的加入props keepAlive=false

parent 9ac7e002
...@@ -119,6 +119,7 @@ const LowestQuotationRecord: React.FC<TableCommonLayoutProps> = (props: any) => ...@@ -119,6 +119,7 @@ const LowestQuotationRecord: React.FC<TableCommonLayoutProps> = (props: any) =>
<h5 className={selfStyles.content}>{effect?.reportPrice ? `¥ ${priceFormat(effect?.reportPrice)}` : '-'}</h5> <h5 className={selfStyles.content}>{effect?.reportPrice ? `¥ ${priceFormat(effect?.reportPrice)}` : '-'}</h5>
</div> </div>
<StandardTable <StandardTable
keepAlive={false}
currentRef={currentRef} currentRef={currentRef}
columns={columns} columns={columns}
tableProps={{ rowKew: 'id' }} tableProps={{ rowKew: 'id' }}
......
...@@ -126,6 +126,7 @@ const MaterialLayout: React.FC<IPROPS> = (props: any) => { ...@@ -126,6 +126,7 @@ const MaterialLayout: React.FC<IPROPS> = (props: any) => {
title={layoutTitle} title={layoutTitle}
> >
<StandardTable <StandardTable
keepAlive={false}
currentRef={currentRef} currentRef={currentRef}
columns={column ? column : columns} columns={column ? column : columns}
tableProps={{ rowKey: 'id' }} tableProps={{ rowKey: 'id' }}
......
...@@ -144,6 +144,7 @@ const DemandLayout: React.FC<DemandLayoutIProps> = (props: any) => { ...@@ -144,6 +144,7 @@ const DemandLayout: React.FC<DemandLayoutIProps> = (props: any) => {
{context.type !== 1 {context.type !== 1
&& ( && (
<StandardTable <StandardTable
keepAlive={false}
currentRef={tableRef} currentRef={tableRef}
columns={columns} columns={columns}
tableProps={{ rowKew: 'id' }} tableProps={{ rowKew: 'id' }}
......
...@@ -123,6 +123,7 @@ const QuotationDetailsDrawer:React.FC<QuotationDetailsDrawerProps> = (props: any ...@@ -123,6 +123,7 @@ const QuotationDetailsDrawer:React.FC<QuotationDetailsDrawerProps> = (props: any
} }
> >
<StandardTable <StandardTable
keepAlive={false}
currentRef={tableRef} currentRef={tableRef}
columns={columns} columns={columns}
tableProps={{ rowKew: 'id' }} tableProps={{ rowKew: 'id' }}
......
...@@ -101,6 +101,7 @@ const TableCommonLayout: React.FC<TableCommonLayoutProps> = (props: any) => { ...@@ -101,6 +101,7 @@ const TableCommonLayout: React.FC<TableCommonLayoutProps> = (props: any) => {
title={layoutTitle} title={layoutTitle}
> >
<StandardTable <StandardTable
keepAlive={false}
currentRef={currentRef} currentRef={currentRef}
columns={columns} columns={columns}
tableProps={{ rowKew: 'id' }} tableProps={{ rowKew: 'id' }}
......
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