Commit 41928594 by fengzhaoyu

去掉debugger

parent 6c53cb2b
...@@ -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({
......
...@@ -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'
} }
}); });
...@@ -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()
} }
......
...@@ -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;
}
} }
}); });
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