Commit 7cc39e5a authored by pengguangpu's avatar pengguangpu

完善支付成功页对打印配置的判断及对界面的修改;

parent dab0bd36
......@@ -24,7 +24,7 @@ Page({
},
onReady() {
onReady() {
if (my.canIUse('hideBackHome')) {
my.hideBackHome();
}
......@@ -131,6 +131,15 @@ Page({
if (printEnabledLocal == null) {
printEnabledLocal = true;
}
//如果不打印小票,界面将有所变化
if (printEnabledLocal == false) {
this.setData({
isShowPrinting: false,
printerStatus: "小票打印未开启"
});
}
//开启后屏监听
my.ix.onBuddyMessage({
success: (res) => {
......
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