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
7cc39e5a
Commit
7cc39e5a
authored
Feb 27, 2020
by
pengguangpu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善支付成功页对打印配置的判断及对界面的修改;
parent
dab0bd36
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
paysuccess.js
pages/paysuccess/paysuccess.js
+10
-1
No files found.
pages/paysuccess/paysuccess.js
View file @
7cc39e5a
...
...
@@ -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
)
=>
{
...
...
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