Commit 86bcb384 authored by gaodapeng's avatar gaodapeng

加了正确的loading

parent 28abb413
...@@ -555,7 +555,7 @@ Page({ ...@@ -555,7 +555,7 @@ Page({
* 退款 * 退款
*/ */
onHomeRefundClicked: throttle(2000, function () { onHomeRefundClicked: throttle(2000, function () {
if(this.showLoading){ if (this.showLoading == true) {
return return
} }
this.setData({ this.setData({
...@@ -572,7 +572,7 @@ Page({ ...@@ -572,7 +572,7 @@ Page({
if (this.data.printEnabled != true) { if (this.data.printEnabled != true) {
return; return;
} }
if(this.showLoading){ if (this.showLoading == true) {
return return
} }
let context = this; let context = this;
...@@ -603,7 +603,7 @@ Page({ ...@@ -603,7 +603,7 @@ Page({
* 核验 * 核验
*/ */
onHomeVerifyClicked: throttle(2000, function () { onHomeVerifyClicked: throttle(2000, function () {
if(this.showLoading){ if (this.showLoading == true) {
return return
} }
this.showLoading() this.showLoading()
...@@ -640,7 +640,7 @@ Page({ ...@@ -640,7 +640,7 @@ Page({
* 提货 * 提货
*/ */
onHomePickUpGoodsClicked: throttle(2000, function () { onHomePickUpGoodsClicked: throttle(2000, function () {
if(this.showLoading){ if (this.showLoading == true) {
return return
} }
this.showLoading() this.showLoading()
...@@ -665,7 +665,7 @@ Page({ ...@@ -665,7 +665,7 @@ Page({
/**日结 */ /**日结 */
onHomeDayCheckClicked: throttle(2000, function () { onHomeDayCheckClicked: throttle(2000, function () {
if(this.showLoading){ if (this.showLoading == true) {
return return
} }
this.showLoading() this.showLoading()
......
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