Commit 5cef239105d7cbbe1364713a7f28b93746e07319
1 parent
7a562f9b
1.去掉无用console
Showing
2 changed files
with
3 additions
and
8 deletions
src/components/Common/CommonTable/index.js
| @@ -3347,9 +3347,8 @@ class CommonTableRc extends React.Component { | @@ -3347,9 +3347,8 @@ class CommonTableRc extends React.Component { | ||
| 3347 | } else { | 3347 | } else { |
| 3348 | components.header = { cell: ResizeableTitle }; | 3348 | components.header = { cell: ResizeableTitle }; |
| 3349 | } | 3349 | } |
| 3350 | - let bPagination = true; /* 默认表格分页s */ | 3350 | + let bPagination = true; /* 默认表格分页 */ |
| 3351 | let {mesTotalCount , mesPageSize, mesPageNum, isPagination} = this.props.tableProps || {}; | 3351 | let {mesTotalCount , mesPageSize, mesPageNum, isPagination} = this.props.tableProps || {}; |
| 3352 | - console.log(this.props.tableProps, 'this.props.tableProps'); | ||
| 3353 | 3352 | ||
| 3354 | if (commonUtils.isNotEmptyObject(this.props)) { | 3353 | if (commonUtils.isNotEmptyObject(this.props)) { |
| 3355 | bPagination = | 3354 | bPagination = |
| @@ -4862,7 +4861,6 @@ class CommonTableRc extends React.Component { | @@ -4862,7 +4861,6 @@ class CommonTableRc extends React.Component { | ||
| 4862 | }} | 4861 | }} |
| 4863 | loading={bLoading} | 4862 | loading={bLoading} |
| 4864 | onClick={e => { | 4863 | onClick={e => { |
| 4865 | - console.log("🚀 ~ CommonTableRc ~ e:", e) | ||
| 4866 | e.stopPropagation(); /* 阻止父级穿透 */ | 4864 | e.stopPropagation(); /* 阻止父级穿透 */ |
| 4867 | const onTempTableBtnClick = nextProps => { | 4865 | const onTempTableBtnClick = nextProps => { |
| 4868 | props.onTableBtnClick && | 4866 | props.onTableBtnClick && |
| @@ -8161,7 +8159,6 @@ class CommonTableRc extends React.Component { | @@ -8161,7 +8159,6 @@ class CommonTableRc extends React.Component { | ||
| 8161 | commonUtils.isNotEmptyObject(this.props.tableProps.chooseProcessConfigRow) | 8159 | commonUtils.isNotEmptyObject(this.props.tableProps.chooseProcessConfigRow) |
| 8162 | ) { | 8160 | ) { |
| 8163 | const iIndex = this.props.tableProps.chooseProcessConfigRow; | 8161 | const iIndex = this.props.tableProps.chooseProcessConfigRow; |
| 8164 | - console.log("🚀 ~ CommonTableRc ~ this.props.tableProps:", this.props) | ||
| 8165 | this.props.onBtnChoose("process", "BtnChooseProcess", iIndex); | 8162 | this.props.onBtnChoose("process", "BtnChooseProcess", iIndex); |
| 8166 | } | 8163 | } |
| 8167 | }; | 8164 | }; |
| @@ -10825,7 +10822,6 @@ class CommonTableRc extends React.Component { | @@ -10825,7 +10822,6 @@ class CommonTableRc extends React.Component { | ||
| 10825 | 10822 | ||
| 10826 | /* 获取table中的props */ | 10823 | /* 获取table中的props */ |
| 10827 | const tableProps = this.getTableProps(); | 10824 | const tableProps = this.getTableProps(); |
| 10828 | - console.log("🚀 ~ CommonTableRc ~ render ~ tableProps:", tableProps) | ||
| 10829 | let autoHeight = this.props.tableProps.AutoTableHeight; | 10825 | let autoHeight = this.props.tableProps.AutoTableHeight; |
| 10830 | 10826 | ||
| 10831 | const realizeHeight = | 10827 | const realizeHeight = |
| @@ -11159,7 +11155,6 @@ class CommonTableRc extends React.Component { | @@ -11159,7 +11155,6 @@ class CommonTableRc extends React.Component { | ||
| 11159 | mesPageChange: true | 11155 | mesPageChange: true |
| 11160 | }); | 11156 | }); |
| 11161 | } | 11157 | } |
| 11162 | - console.log(tableProps, 'tablePropstableProps'); | ||
| 11163 | 11158 | ||
| 11164 | return ( | 11159 | return ( |
| 11165 | <FormItem | 11160 | <FormItem |
src/utils/config.js
| @@ -6,8 +6,8 @@ export const webSite = { | @@ -6,8 +6,8 @@ export const webSite = { | ||
| 6 | // faceAddress: isDev ? '//192.168.11.22:8080/xlyFace' : '//' + location.host + '/xlyFace', | 6 | // faceAddress: isDev ? '//192.168.11.22:8080/xlyFace' : '//' + location.host + '/xlyFace', |
| 7 | fileAddress: isDev ? '//km5cjx.gnway.cc:43920/xlyReport/' : '//' + location.host + '/xlyReport/', // 接口地址 | 7 | fileAddress: isDev ? '//km5cjx.gnway.cc:43920/xlyReport/' : '//' + location.host + '/xlyReport/', // 接口地址 |
| 8 | faceAddress: isDev ? '//km5cjx.gnway.cc:43920/xlyFace' : '//' + location.host + '/xlyFace', | 8 | faceAddress: isDev ? '//km5cjx.gnway.cc:43920/xlyFace' : '//' + location.host + '/xlyFace', |
| 9 | - ipAddress: localStorage.ipAddress ? localStorage.ipAddress : isDev ? '//km5cjx.gnway.cc:43920/xlyEntry/' : '//' + location.host + '/xlyEntry/', | ||
| 10 | - interfaceAddress: isDev ? '//km5cjx.gnway.cc:43920/xlyApi/' : '//' + location.host + '/xlyApi/', // 接口地址 | 9 | + ipAddress: localStorage.ipAddress ? localStorage.ipAddress : isDev ? '//192.168.2.36:8080/xlyEntry/' : '//' + location.host + '/xlyEntry/', |
| 10 | + interfaceAddress: isDev ? '//km5cjx.gnway.cc:43920/xlyApi/' : '//' + location.host + '/xlyApi/', // 接口地址88 | ||
| 11 | // ipAddress: isDev ? '//ebc.jinjia.com:8091/xlyEntry/' : '//' + location.host + '/xlyEntry/', | 11 | // ipAddress: isDev ? '//ebc.jinjia.com:8091/xlyEntry/' : '//' + location.host + '/xlyEntry/', |
| 12 | // interfaceAddress: isDev ? '//ebc.jinjia.com:8091/xlyApi/' : '//' + location.host + '/xlyApi/', // 接口地址 | 12 | // interfaceAddress: isDev ? '//ebc.jinjia.com:8091/xlyApi/' : '//' + location.host + '/xlyApi/', // 接口地址 |
| 13 | // ipAddress: isDev ? '//192.168.11.26:8080/xlyEntry/' : '//' + location.host + '/xlyEntry/', | 13 | // ipAddress: isDev ? '//192.168.11.26:8080/xlyEntry/' : '//' + location.host + '/xlyEntry/', |