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
9cc969b4
Commit
9cc969b4
authored
Jun 01, 2020
by
jiangjiantao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfixed
parent
84d90df0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
app.js
app.js
+2
-2
balance.js
pages/balance/balance.js
+6
-1
No files found.
app.js
View file @
9cc969b4
...
@@ -7,7 +7,7 @@ App({
...
@@ -7,7 +7,7 @@ App({
printerName
:
null
,
printerName
:
null
,
TEST_URL
:
"https://cashier.test.miyahub.net/"
,
TEST_URL
:
"https://cashier.test.miyahub.net/"
,
RELEASE_URL
:
"https://cashier.miyahub.com/"
,
RELEASE_URL
:
"https://cashier.miyahub.com/"
,
BASE_URL
:
null
,
BASE_URL
:
"https://cashier.miyahub.com/"
,
appId
:
"2021001107603212"
,
appId
:
"2021001107603212"
,
backScreenAppId
:
"2021001107617164"
,
backScreenAppId
:
"2021001107617164"
,
//小程序容器版本
//小程序容器版本
...
@@ -24,7 +24,7 @@ App({
...
@@ -24,7 +24,7 @@ App({
// options.query == {number:1}
// options.query == {number:1}
console
.
info
(
'App onLaunch'
);
console
.
info
(
'App onLaunch'
);
//初始化baseUrl
//初始化baseUrl
this
.
globalData
.
BASE_URL
=
this
.
globalData
.
TEST
_URL
;
this
.
globalData
.
BASE_URL
=
this
.
globalData
.
RELEASE
_URL
;
//获取容器版本信息
//获取容器版本信息
my
.
ix
.
getVersion
({
my
.
ix
.
getVersion
({
success
:
(
r
)
=>
{
success
:
(
r
)
=>
{
...
...
pages/balance/balance.js
View file @
9cc969b4
...
@@ -176,7 +176,12 @@ Page({
...
@@ -176,7 +176,12 @@ Page({
this
.
setData
({
this
.
setData
({
isPaying
:
false
isPaying
:
false
});
});
hideLoading
();
my
.
showToast
({
type
:
'exception'
,
content
:
res
.
message
,
duration
:
2000
});
my
.
hideLoading
();
}
}
}
}
}.
bind
(
this
));
}.
bind
(
this
));
...
...
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