Commit b32a1077 authored by jiangjiantao's avatar jiangjiantao

bugfix

parent fd711863
...@@ -140,16 +140,6 @@ Page({ ...@@ -140,16 +140,6 @@ Page({
}); });
} }
//数据是空代表是直接收款 不打印
if(null == this.data.goodsList || this.data.goodsList.length == 0){
printEnabledLocal = false
this.setData({
isShowPrinting: false,
printerStatus: "支付成功,期待下次光临!"
});
}
//开启后屏监听 //开启后屏监听
my.ix.onBuddyMessage({ my.ix.onBuddyMessage({
success: (res) => { success: (res) => {
...@@ -182,6 +172,13 @@ Page({ ...@@ -182,6 +172,13 @@ Page({
my.removeStorageSync({ my.removeStorageSync({
key: 'paySuccessGoodsList', key: 'paySuccessGoodsList',
}); });
my.removeStorage({
key: 'goods',
success: function () {
}
});
} }
......
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