Skip to content

Commit

Permalink
fix some typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shanbao Qi authored and Shanbao Qi committed Jun 22, 2017
1 parent bba7048 commit 4147510
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Component/common/GetData.jsx
Expand Up @@ -176,7 +176,7 @@ const Main = (mySetting) => {
* 使用该方法可以在组件更新之后操作 DOM 元素。
*/
componentDidUpdate() {
this.redayDOM();
this.readyDOM();
}
/**
* 在组件从 DOM 中移除的时候立刻被调用。
Expand Down
4 changes: 2 additions & 2 deletions src/Reducer/Index.jsx
Expand Up @@ -24,7 +24,7 @@ const User = (state = JSON.parse(Tool.localItem('User')), action) => {

const DB = (_ID = '', setting = {}) => {
const cb = {
setDefaut: () => {
setDefault: () => {
var defaults = merged({
path: '', //当前页面的href
loadAnimation: true, //true显示加载动画,false 不显示加载动画
Expand All @@ -51,7 +51,7 @@ const DB = (_ID = '', setting = {}) => {
} else if (cb[action.type]) {
return cb[action.type](state, action.target);
} else {
return cb.setDefaut();
return cb.setDefault();
}
}
}
Expand Down

0 comments on commit 4147510

Please sign in to comment.