@@ -126,6 +126,7 @@
</div>
<div>
+ <el-button type="danger" @click="cancelOrder()">Go Back</el-button>
<el-button type="primary" @click="goToAccounts()" :loading="submitButtonStat">Settle accounts</el-button><!--去结算-->
@@ -266,6 +267,9 @@
}
},
methods:{
+ cancelOrder(){
+ history.go(-1)
+ },
setFreight(){
if(this.addressId=='100000000000000000'){//如果地址为自提,则运费为0
this.pointFreight = this.freight = 0;