|
@@ -117,6 +117,7 @@ Component({
|
|
|
},
|
|
|
/* 获取产品 */
|
|
|
getList(init = false) {
|
|
|
+ wx.hideLoading()
|
|
|
if (init.detail != undefined) init = init.detail;
|
|
|
if (init) content.pageNumber = 1;
|
|
|
if (content.pageNumber > content.pageTotal) return;
|
|
@@ -144,6 +145,9 @@ Component({
|
|
|
detail
|
|
|
}) {
|
|
|
content.where.condition = detail;
|
|
|
+ wx.showLoading({
|
|
|
+ title: '搜索中...',
|
|
|
+ })
|
|
|
this.getList(true)
|
|
|
},
|
|
|
onChange({
|