你好,我刚刚解决了这个问题,在login页面的引入使用es6的写法:
'use strict'
import React, { Component } from 'react';
import {
AppRegistry,
StyleSheet,
Text,
View,
ListView,
TabBarIOS,
TextInput,
AlertIOS,
} from 'react-native';
import config from '../common/config'
import request from '../common/request'
import Button from 'react-native-button'
import {CountDownText} from 'react-native-sk-countdown'
然后把倒计时的插件改成上面老师的es6的写法,安装npm install react-addons-update --save这个包就可以了