Skip to content

Commit fae79b9

Browse files
author
xujie3949
committed
解决非调试状态下报错问题
1 parent 4bd550a commit fae79b9

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

src/containers/android/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* Created by wangtun on 2016/7/21.
33
*/
4-
import 'babel-polyfill';
4+
55
import React, { Component } from 'react';
66
import { createStore, applyMiddleware, compose } from 'redux';
77
import { Provider,connect } from 'react-redux';

src/fetch/fetch.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/**
22
* Created by 28203 on 2016/5/29 0029.
33
*/
4-
import fetch from 'isomorphic-fetch'
54

65
const fetchMethod = {
76
Get: "GET",

src/utils/helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
const helper = {
66
bindMethod: (obj)=> {
7-
const members = Reflect.ownKeys(obj.__proto__);
7+
const members = Object.getOwnPropertyNames(obj.__proto__);
88
for (let member of members) {
99
if (typeof(obj[member]) === 'function') {
1010
if (!helper.isReactLifeCycleMethod(member)) {

0 commit comments

Comments
 (0)