Commit 4844a58a authored by 沈良进's avatar 沈良进

Merge branch 'master' of http://gitlab.oytour.com/viitto/million

parents c30fc511 f5bd04eb
......@@ -871,14 +871,14 @@ export default {
).value;
},
goPayHandler(pay) {
let key = this.$md5(JSON.stringify(pay));
let pays = localStorage.getItem("pays");
pays = pays ? JSON.parse(pays) : [];
pays.push({
key,
pay,
});
localStorage.setItem("pays", JSON.stringify(pays));
// let key = this.$md5(JSON.stringify(pay));
// let pays = localStorage.getItem("pays");
// pays = pays ? JSON.parse(pays) : [];
// pays.push({
// key,
// pay,
// });
// localStorage.setItem("pays", JSON.stringify(pays));
let lineCars = localStorage.getItem("lineCars");
lineCars = lineCars ? JSON.parse(lineCars) : [];
let i = lineCars.findIndex((x) => x.key == this.orderKey);
......@@ -886,7 +886,7 @@ export default {
lineCars.splice(i, 1);
localStorage.setItem("lineCars", JSON.stringify(lineCars));
}
this.CommonJump("/pay/" + key, {});
this.CommonJump("/pay/" + pay.OrderNo, {});
},
GUID() {
return "xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g, function (c) {
......
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