Commit df39d576 authored by 黄奎's avatar 黄奎
parents 135f8863 f6446599
...@@ -14,11 +14,12 @@ ...@@ -14,11 +14,12 @@
//url:'http://mall.oytour.com/#/coffeeManage/order' //url:'http://mall.oytour.com/#/coffeeManage/order'
} }
}, },
mounted() { created(){
if(this.$route.query.id){ if(this.$route.query.id){
this.url=`http://127.0.0.1:8080/#/coffeeManage/order?orderId=`+this.$route.query.id this.url=`http://127.0.0.1:8080/#/coffeeManage/order?orderId=`+this.$route.query.id
} }
},
mounted() {
let userinfo = JSON.parse(localStorage.getItem('loginUserInfo')).data let userinfo = JSON.parse(localStorage.getItem('loginUserInfo')).data
let obj={ let obj={
token:userinfo.MallToken, token:userinfo.MallToken,
......
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