Commit 0d593342 by FE

del alert

parent 18394e59
......@@ -147,11 +147,9 @@ class MyTreasure extends Component {
// 拆宝箱--拆
toSplitTreasure = (params) => {
alert('split')
http.post(`${API.home}/sys/split_treasure`, params).then(res => {
const { code, data } = res.data;
if(code === 200) {
alert(JSON.stringify(data))
// 拆宝箱弹窗--成功
this.showSuccessSplit(data);
......@@ -394,9 +392,7 @@ class MyTreasure extends Component {
// 第三:奖品,现金红包--提现
toFecthMoney = () => {
const { history } = this.props;
alert(getParam('version'));
if(getParam('version')) {
alert(0);
SendMessageToApp('toAccount')
}else {
history.push('/scholarship');
......
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