Commit 0601f67a by xuzhenghua

测试

parents 78f26cb0 4009da7c
......@@ -233,7 +233,6 @@ class BlessingPreheat extends Component {
http.get(`${API.home}/sys/user/blessing`).then(res => {
const {code, data} = res.data
if (code === 200) {
console.log(data.user_test_total);
this.setState({
isSign: !!data.today_signed,
isFormal: data.is_activity,
......@@ -426,7 +425,6 @@ class BlessingPreheat extends Component {
isClose,
testSum
} = this.state;
console.log(testSum);
const {history} = this.props
const isLogin = !this.props.user.hasError
return (
......@@ -530,10 +528,10 @@ class BlessingPreheat extends Component {
<div className="test__record" onClick={() => this.handleToShow('showRecordList', true)}>
测试记录>
</div>
<LevelTest
history={history}
<LevelTest
history={history}
testSum={testSum}
isLogin={isLogin}
isLogin={isLogin}
toLogin={this.toLogin}
/>
......
......@@ -72,7 +72,7 @@ class ToAppDemo extends Component {
wxShare({
title: 'AI充电节,积福气享1折秒课,超10万元奖品来就送!!',
desc: '把这门超5万人报名的【Python基础入门 升级版】课程送给你,附200元红包,请笑纳!--七月在线',
link: window.location.href,
link: encodeURI(location.href),
imgUrl: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/index-share-img.png',
})
}
......
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