|
@@ -267,7 +267,9 @@ export default {
|
|
|
// console.log(query);
|
|
|
|
|
|
if (query.orderNumber) {
|
|
|
- this.getOrderInfo(query.orderNumber);
|
|
|
+ setTimeout(() => {
|
|
|
+ this.getOrderInfo(query.orderNumber);
|
|
|
+ }, query.width ? 0 : 500);
|
|
|
}
|
|
|
this.$store.commit("SET_APP_VERSION", {
|
|
|
type: "currentPage",
|
|
@@ -320,6 +322,20 @@ export default {
|
|
|
}, 500);
|
|
|
});
|
|
|
}
|
|
|
+ if (this.form.productDataJosn) {
|
|
|
+ if (this.form.productDataJosn.latitude) {
|
|
|
+ this.$store.commit("SET_APP_VERSION", {
|
|
|
+ type: "latitude",
|
|
|
+ value: this.form.productDataJosn.latitude * 1,
|
|
|
+ });
|
|
|
+ }
|
|
|
+ if (this.form.productDataJosn.longitude) {
|
|
|
+ this.$store.commit("SET_APP_VERSION", {
|
|
|
+ type: "longitude",
|
|
|
+ value: this.form.productDataJosn.longitude * 1,
|
|
|
+ });
|
|
|
+ }
|
|
|
+ }
|
|
|
});
|
|
|
},
|
|
|
goPath(path) {
|