Commit ff4e05b4 authored by jiangjiantao's avatar jiangjiantao

bugfix

parent 30e071e5
...@@ -15,6 +15,13 @@ Page({ ...@@ -15,6 +15,13 @@ Page({
orderNo: "", orderNo: "",
isPaying: false, isPaying: false,
}, },
onReady() {
if (my.canIUse('hideBackHome')) {
my.hideBackHome();
}
},
onLoad(options) { onLoad(options) {
var totalQuantity = options.totalQuantity var totalQuantity = options.totalQuantity
var totalPrice = options.totalPrice var totalPrice = options.totalPrice
......
...@@ -22,6 +22,14 @@ Page({ ...@@ -22,6 +22,14 @@ Page({
payChannel: "未知", payChannel: "未知",
paySuccessResponse: null paySuccessResponse: null
}, },
onReady() {
if (my.canIUse('hideBackHome')) {
my.hideBackHome();
}
},
onLoad(query) { onLoad(query) {
console.info(`Page onLoad with query: ${JSON.stringify(query)}`); console.info(`Page onLoad with query: ${JSON.stringify(query)}`);
//从本地获取相关数据 //从本地获取相关数据
......
...@@ -30,6 +30,12 @@ Page({ ...@@ -30,6 +30,12 @@ Page({
dialogResultFailureText: "录入失败,请稍后重试!", dialogResultFailureText: "录入失败,请稍后重试!",
}, },
onReady() {
if (my.canIUse('hideBackHome')) {
my.hideBackHome();
}
},
onLoad: function (options) { onLoad: function (options) {
var barcode = options.barcode var barcode = options.barcode
if (barcode != null) { if (barcode != null) {
......
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