Commit 47c5e9de authored by cc's avatar cc

updaye

parent 3a148789
...@@ -39,7 +39,7 @@ class App extends Component { ...@@ -39,7 +39,7 @@ class App extends Component {
myPrize: MyPrize, // TODO 举例子 新宿台奖品页 myPrize: MyPrize, // TODO 举例子 新宿台奖品页
index: HomePage, index: HomePage,
sharepage:SharePage, sharepage:SharePage,
}[skinId] || SharePage; }[skinId] || HomePage;
PageCtrl.changePage(CFG.agentShare == "1" ? AgentSharepage : defaultPage); PageCtrl.changePage(CFG.agentShare == "1" ? AgentSharepage : defaultPage);
} }
......
...@@ -14,6 +14,7 @@ function isEnterpriseWeChat() { ...@@ -14,6 +14,7 @@ function isEnterpriseWeChat() {
const shareStore = makeAutoObservable({ const shareStore = makeAutoObservable({
// 初始化分享 // 初始化分享
initShare(){ initShare(){
console.info('time-initShare',new Date().getTime())
const skinId = GetCurrSkinId() || getCustomShareId() || 'index'; const skinId = GetCurrSkinId() || getCustomShareId() || 'index';
console.log("分享默认渠道===", CFG.defaultChannel); console.log("分享默认渠道===", CFG.defaultChannel);
const shareInfo = JSON.parse(store.frontVariable.shareInfo); const shareInfo = JSON.parse(store.frontVariable.shareInfo);
......
...@@ -49,6 +49,7 @@ class Store { ...@@ -49,6 +49,7 @@ class Store {
/** 获取前端配置项 */ /** 获取前端配置项 */
async getFrontVariable() { async getFrontVariable() {
// 获取前端开发配置 // 获取前端开发配置
console.info('time',new Date().getTime())
const { data } = await API.getFrontVariable(); const { data } = await API.getFrontVariable();
this.frontVariable = data || {}; this.frontVariable = data || {};
console.log('前端开发配置', data) console.log('前端开发配置', data)
......
...@@ -34,6 +34,7 @@ import { ...@@ -34,6 +34,7 @@ import {
// console.log("share result:----", success) // console.log("share result:----", success)
// cb && cb() // cb && cb()
// }) // })
console.info('time-onInitShare',new Date().getTime())
await start([Weixin], function (success) { await start([Weixin], function (success) {
console.log("share result:----", success) console.log("share result:----", success)
cb && cb() 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