diff --git a/src/baseComponents/TableBaseComponent/index.js b/src/baseComponents/TableBaseComponent/index.js index 59d85bf..475c3a9 100644 --- a/src/baseComponents/TableBaseComponent/index.js +++ b/src/baseComponents/TableBaseComponent/index.js @@ -422,7 +422,6 @@ class TableBaseComponent extends ComponentBase { 实际加载表数据 */ doLoadTableData = (loadParamJson, tableCode, onComplete, onLoadData) => { - console.log('调用查询实际过程', 6) const payloadJson = this.getLoadTableDataParams(loadParamJson, tableCode) if (!payloadJson) return @@ -431,7 +430,6 @@ class TableBaseComponent extends ComponentBase { } const tableConfig = this.getTableConfig({ tableCode }); const { api } = tableConfig ? tableConfig : {}; - console.log('调用查询实际过程', 7, api) this.props.dispatch({ type: 'listPage/getTableData', diff --git a/src/feui/search/AdvanceSearch.js b/src/feui/search/AdvanceSearch.js index 544c759..5a04a97 100644 --- a/src/feui/search/AdvanceSearch.js +++ b/src/feui/search/AdvanceSearch.js @@ -297,7 +297,6 @@ class AdvanceSearch extends Component { */ handleSearch = (self = true) => { if (this.setShareIns(self)) return - console.log('调用查询开始', 1) const { onSearch } = this.props onSearch instanceof Function && onSearch() } diff --git a/src/index.js b/src/index.js index 990ef7f..99a1062 100644 --- a/src/index.js +++ b/src/index.js @@ -85,4 +85,10 @@ app.router(require('./router').default); // 5. Start app.start('#root'); -window.g_app = app; \ No newline at end of file +window.g_app = app; + +const { localStorage } = window +for (let i = 0; i < localStorage.length; i++) { + const key = localStorage.key(i) + key.indexOf('_requestKey') > -1 && localStorage.removeItem(key) +} \ No newline at end of file diff --git a/src/models/listPage.js b/src/models/listPage.js index 3b856ef..32dc2d0 100644 --- a/src/models/listPage.js +++ b/src/models/listPage.js @@ -22,11 +22,8 @@ export default { return ret }, *getTableData ({ payload, url, onComplete }, { call, put }) { - console.log('执行前',appService.getTableData) const ret = yield call(appService.getTableData, { payload, url }) - console.log('执行后') if (typeof onComplete === 'function') { - console.log('执行后',ret) onComplete(ret) } return ret