Authored by 叶弯弯

兼容处理点击更新崩溃问题。reviewed by yuliang。

@@ -140,7 +140,7 @@ export default function userReducer(state = initialState, action) { @@ -140,7 +140,7 @@ export default function userReducer(state = initialState, action) {
140 140
141 case CHECK_UPDATE_SUCCESS: { 141 case CHECK_UPDATE_SUCCESS: {
142 let isLast = action.payload.lastVersion; 142 let isLast = action.payload.lastVersion;
143 - if (isLast) { 143 + if (isLast || !action.payload.url) {
144 return state.set('isShowUpdate', false); 144 return state.set('isShowUpdate', false);
145 } else { 145 } else {
146 return state.set('isShowUpdate', true) 146 return state.set('isShowUpdate', true)