Commit 0601f67a by xuzhenghua

测试

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