Browse Source

:bug: fix bug

zhanghe 6 years ago
parent
commit
395b10373e
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/stage/index/scene/IndexScene.js

+ 0 - 2
src/stage/index/scene/IndexScene.js

@@ -1,7 +1,6 @@
 import CourseItem from '../../../component/CourseItem';
 import APIClient from '../../../util/API/APIClient';
 import userDataStorage from '../../../util/userDataStorage';
-import ShopCartState from '../../../util/ShopCartState';
 import Consts from '../../../util/Consts';
 import Utils from '../../../util/Utils';
 import { CommandBus, CMD_TYPE } from '../../../util/CommandBus';
@@ -32,7 +31,6 @@ class IndexScene extends scene {
 				//必须获取Token后才可以正常调用以下接口
 				this.loadHistoryList();
 				this.loadTerminal();
-				ShopCartState.updateCount();
 
 				//记录用户登录行为
 				let {status, data} = CommandBus.execute({