From d0dc35e3c024054b0e5936f7b2ccac17809e5386 Mon Sep 17 00:00:00 2001 From: chenshaowei Date: Tue, 12 May 2026 15:33:53 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=88=97=E8=A1=A8=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E6=97=A0=E6=95=B0=E6=8D=AE=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/baseComponents/TableBaseComponent/index.js | 2 -- src/feui/search/AdvanceSearch.js | 1 - src/index.js | 8 +++++++- src/models/listPage.js | 3 --- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/baseComponents/TableBaseComponent/index.js b/src/baseComponents/TableBaseComponent/index.js index 000cf5b..0cdc613 100644 --- a/src/baseComponents/TableBaseComponent/index.js +++ b/src/baseComponents/TableBaseComponent/index.js @@ -417,7 +417,6 @@ class TableBaseComponent extends ComponentBase { 实际加载表数据 */ doLoadTableData = (loadParamJson, tableCode, onComplete, onLoadData) => { - console.log('调用查询实际过程', 6); const payloadJson = this.getLoadTableDataParams(loadParamJson, tableCode); if (!payloadJson) return; @@ -426,7 +425,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 -- 2.38.1.windows.1