Commit 47c5e9de authored by cc's avatar cc

updaye

parent 3a148789
......@@ -39,7 +39,7 @@ class App extends Component {
myPrize: MyPrize, // TODO 举例子 新宿台奖品页
index: HomePage,
sharepage:SharePage,
}[skinId] || SharePage;
}[skinId] || HomePage;
PageCtrl.changePage(CFG.agentShare == "1" ? AgentSharepage : defaultPage);
}
......
......@@ -14,6 +14,7 @@ function isEnterpriseWeChat() {
const shareStore = makeAutoObservable({
// 初始化分享
initShare(){
console.info('time-initShare',new Date().getTime())
const skinId = GetCurrSkinId() || getCustomShareId() || 'index';
console.log("分享默认渠道===", CFG.defaultChannel);
const shareInfo = JSON.parse(store.frontVariable.shareInfo);
......
......@@ -49,6 +49,7 @@ class Store {
/** 获取前端配置项 */
async getFrontVariable() {
// 获取前端开发配置
console.info('time',new Date().getTime())
const { data } = await API.getFrontVariable();
this.frontVariable = data || {};
console.log('前端开发配置', data)
......
......@@ -34,6 +34,7 @@ import {
// console.log("share result:----", success)
// cb && cb()
// })
console.info('time-onInitShare',new Date().getTime())
await start([Weixin], function (success) {
console.log("share result:----", success)
cb && cb()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment