@@ -9,7 +9,6 @@ import i18n from '@/i18n';
99
1010interface IProps {
1111 className ?: string ;
12- curWorkspaceParams : any ;
1312}
1413
1514interface IDatasource extends IHistoryRecord {
@@ -22,11 +21,11 @@ export default memo<IProps>((props) => {
2221 const outputContentRef = React . useRef < HTMLDivElement > ( null ) ;
2322 const curPageRef = React . useRef ( 1 ) ;
2423 const finishedRef = React . useRef ( false ) ;
25-
24+
2625 const getHistoryList = ( ) => {
2726 return historyService
2827 . getHistoryList ( {
29- dataSourceId :props . curWorkspaceParams . dataSourceId ,
28+ // dataSourceId:props.curWorkspaceParams.dataSourceId,
3029 pageNo : curPageRef . current ++ ,
3130 pageSize : 40 ,
3231 } )
@@ -53,7 +52,7 @@ export default memo<IProps>((props) => {
5352 return (
5453 < div className = { classnames ( styles . output , className ) } >
5554 < div className = { styles . outputTitle } >
56- < Iconfont code = "" />
55+ { /* <Iconfont code="" /> */ }
5756 { i18n ( 'common.title.executiveLogging' ) }
5857 </ div >
5958 < div className = { styles . outputContent } ref = { outputContentRef } >
@@ -74,7 +73,7 @@ export default memo<IProps>((props) => {
7473 </ div >
7574 < span className = { styles . timeSpan } > [{ item . gmtCreate } ]</ span >
7675 { /* {!!item.operationRows && <span>{item.operationRows} rows</span> } */ }
77- { ! ! item . useTime && < span > { i18n ( 'common.text.executionTime' , item . useTime ) } </ span > }
76+ { ! ! item . useTime && < span > { i18n ( 'common.text.executionTime' , item . useTime ) } </ span > }
7877 </ div >
7978 < div className = { styles . sqlPlace } > { nameList . filter ( ( name ) => name ) . join ( ' > ' ) } </ div >
8079 < div className = { styles . sqlBox } dangerouslySetInnerHTML = { { __html : item . highlightedCode } } />
0 commit comments