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