src/page/trading/buy.vue
@@ -369,7 +369,6 @@ return; } this.buying = true console.log(this.tabsCurrentIndex,"啊是对啊是给丢啊施工队啊收到过") let opts={ stockId:this.code, buyNum:this.num * 100, @@ -393,7 +392,7 @@ if (data.status === 0) { this.$store.commit('elAlertShow',{'elAlertShow':true,'elAlertText': data.msg,'elAlertType':'success'}); this.getUserInfo() this.$router.push('/orderlist?index=2') this.$router.push('/warehouse?index=1') } else { this.$store.commit('elAlertShow',{'elAlertShow':true,'elAlertText': data.msg}); }