|
@@ -189,6 +189,13 @@ export default {
|
|
this.orderId = this.$route.query.id;
|
|
this.orderId = this.$route.query.id;
|
|
this.getDetail();
|
|
this.getDetail();
|
|
},
|
|
},
|
|
|
|
+ activated() {
|
|
|
|
+ const orderId = this.$route.query.id;
|
|
|
|
+ if (orderId != null && orderId != this.orderId) {
|
|
|
|
+ this.orderId = orderId;
|
|
|
|
+ this.getDetail();
|
|
|
|
+ }
|
|
|
|
+ },
|
|
methods: {
|
|
methods: {
|
|
// 订单详情
|
|
// 订单详情
|
|
getDetail() {
|
|
getDetail() {
|
|
@@ -312,4 +319,4 @@ export default {
|
|
margin-left: 20px;
|
|
margin-left: 20px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-</style>
|
|
|
|
|
|
+</style>
|