Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mingPayMobile
Overview
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fengzhaoyu
mingPayMobile
Commits
41928594
Commit
41928594
authored
Nov 10, 2020
by
fengzhaoyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去掉debugger
parent
6c53cb2b
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
4 deletions
+13
-4
http.js
API/http.js
+0
-1
app.js
app.js
+1
-1
externalContact.js
pages/externalContact/externalContact.js
+0
-1
index.js
pages/index/index.js
+12
-1
No files found.
API/http.js
View file @
41928594
...
@@ -143,7 +143,6 @@ const $http = (url, data, type, loadingType) => {
...
@@ -143,7 +143,6 @@ const $http = (url, data, type, loadingType) => {
})
})
},
},
fail
:
function
(
err
)
{
fail
:
function
(
err
)
{
debugger
if
(
err
.
status
==
426
)
{
if
(
err
.
status
==
426
)
{
dd
.
hideLoading
()
dd
.
hideLoading
()
dd
.
removeStorageSync
({
dd
.
removeStorageSync
({
...
...
app.js
View file @
41928594
...
@@ -17,6 +17,6 @@ App({
...
@@ -17,6 +17,6 @@ App({
// globalUrl: 'http://192.168.1.101:9999' //本地豪
// globalUrl: 'http://192.168.1.101:9999' //本地豪
// globalUrl:'http://192.168.1.110:9999' // 本地成
// globalUrl:'http://192.168.1.110:9999' // 本地成
// globalUrl:'https://gateway.mingwork.com'
// globalUrl:'https://gateway.mingwork.com'
globalUrl
:
'https://gateway
-beta
.mingwork.com'
globalUrl
:
'https://gateway.mingwork.com'
}
}
});
});
pages/externalContact/externalContact.js
View file @
41928594
...
@@ -23,7 +23,6 @@ create.Page({
...
@@ -23,7 +23,6 @@ create.Page({
success
:
function
(
res
)
{
success
:
function
(
res
)
{
if
(
_that
.
data
.
query
==
0
)
{
if
(
_that
.
data
.
query
==
0
)
{
_that
.
store
.
data
.
visitorName
=
res
[
0
].
name
_that
.
store
.
data
.
visitorName
=
res
[
0
].
name
debugger
_that
.
store
.
data
.
selectVisitors
=
false
_that
.
store
.
data
.
selectVisitors
=
false
_that
.
update
()
_that
.
update
()
}
}
...
...
pages/index/index.js
View file @
41928594
...
@@ -2,6 +2,7 @@ var app = getApp();
...
@@ -2,6 +2,7 @@ var app = getApp();
import
$http
from
'./../../API/http'
import
$http
from
'./../../API/http'
import
create
from
'dd-store'
import
create
from
'dd-store'
import
exampleStore
from
'/stores/exampleStore'
import
exampleStore
from
'/stores/exampleStore'
let
maxClickCount
=
5
create
.
Page
({
create
.
Page
({
store
:
exampleStore
,
store
:
exampleStore
,
useAll
:
true
,
useAll
:
true
,
...
@@ -11,7 +12,8 @@ create.Page({
...
@@ -11,7 +12,8 @@ create.Page({
// store: exampleStore,
// store: exampleStore,
avatar
:
''
,
avatar
:
''
,
realityBalance
:
''
,
realityBalance
:
''
,
cardNo
:
''
cardNo
:
''
,
maxClickCount
:
0
},
},
onLoad
(
query
)
{
onLoad
(
query
)
{
dd
.
hideLoading
()
dd
.
hideLoading
()
...
@@ -167,5 +169,14 @@ create.Page({
...
@@ -167,5 +169,14 @@ create.Page({
},
},
toPayment
(){
toPayment
(){
},
onTitleClick
()
{
maxClickCount
--
;
if
(
maxClickCount
==
0
)
{
dd
.
alert
({
content
:
'0.0.19'
});
maxClickCount
=
5
;
}
}
}
});
});
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