Commit 0d593342 by FE

del alert

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