Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
D
doublescreen-front
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pengguangpu
doublescreen-front
Commits
b32a1077
Commit
b32a1077
authored
Mar 02, 2020
by
jiangjiantao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix
parent
fd711863
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
10 deletions
+7
-10
paysuccess.js
pages/paysuccess/paysuccess.js
+7
-10
No files found.
pages/paysuccess/paysuccess.js
View file @
b32a1077
...
@@ -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
()
{
}
});
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment