diff --git a/README.md b/README.md index f451f06..e2f7c4e 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,10 @@ ![Instructions.gif](https://img03.sogoucdn.com/app/a/100520146/4d63e4c89eb939f009344792b5f3afe8) +#### v1.3.5 + +- 移除网络失败提示 + #### v1.3.4 - 移除 encoding diff --git a/rollup.config.js b/rollup.config.js index 1f601a5..4b5e5c2 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -54,11 +54,11 @@ const rollupOptions = { replace({ ENV: JSON.stringify(NODE_ENV), }), - // NODE_ENV === 'production' && terser({ - // format: { - // comments: false - // } - // }), + NODE_ENV === 'production' && terser({ + format: { + comments: false + } + }), ], }; export default rollupOptions; diff --git a/src/features/fundMy.ts b/src/features/fundMy.ts index 52cd1bf..f502ad8 100644 --- a/src/features/fundMy.ts +++ b/src/features/fundMy.ts @@ -55,8 +55,8 @@ const getMyFundDetails = async () => { FundDBHelper.update(db); // console.log(JSON.stringify(db.data)); } catch (error) { - console.error(error); - utools.showNotification(`网络请求失败,请稍后再试`); + console.error(`${db.data.id} ${db.data.name} :`, error); + // utools.showNotification(`网络请求失败,请稍后再试`); } return db; })