Skip to content

Commit

Permalink
refactor($.http): $.http 接口返回值更新
Browse files Browse the repository at this point in the history
  • Loading branch information
twinh committed Jun 30, 2021
1 parent f58ffe0 commit ca3ca7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export default class App extends React.Component {
}

loadConfig() {
return api.get('js-config').then(ret => {
return api.get('js-config').then(({ret}) => {
if (ret.isErr()) {
$.ret(ret);
return;
Expand Down

0 comments on commit ca3ca7d

Please sign in to comment.