|
|
@@ -1,5 +1,6 @@
|
|
|
const getHeight = require("../../utils/getRheRemainingHeight");
|
|
|
const _Http = getApp().globalData.http;
|
|
|
+let dowmCount = null;
|
|
|
Page({
|
|
|
|
|
|
/**
|
|
|
@@ -91,10 +92,16 @@ Page({
|
|
|
startSearch({
|
|
|
detail
|
|
|
}) {
|
|
|
+ clearTimeout(dowmCount);
|
|
|
+
|
|
|
this.setData({
|
|
|
"content.where.condition": detail.trim()
|
|
|
})
|
|
|
- this.selectList(true);
|
|
|
+
|
|
|
+ dowmCount = setTimeout(() => {
|
|
|
+ this.selectList(true);
|
|
|
+ }, 500);
|
|
|
+
|
|
|
},
|
|
|
|
|
|
/* 关闭搜索 */
|