|
|
@@ -11,7 +11,7 @@ class Factory extends React.Component {
|
|
|
|
|
|
constructor(props) {
|
|
|
super(props);
|
|
|
- this.dev = 'local';
|
|
|
+ this.dev = 'local ';
|
|
|
this.index = 0;
|
|
|
this.state = {
|
|
|
titleHeight: 0,
|
|
|
@@ -90,7 +90,7 @@ class Factory extends React.Component {
|
|
|
if (refresh.next) {
|
|
|
if (refresh.next.enable) {
|
|
|
this.refreshNext = setInterval(function () {
|
|
|
- if (this.index == codes.length - 1) {
|
|
|
+ if (this.index >= codes.length - 1) {
|
|
|
this.index = 0;
|
|
|
} else {
|
|
|
this.index++;
|