|
@@ -1,6 +1,7 @@
|
|
|
const getHeight = require("../../../../utils/getRheRemainingHeight");
|
|
|
const _Http = getApp().globalData.http;
|
|
|
const MFT = require("../../../../utils/matchingFeilType");
|
|
|
+let dowmCount = null;
|
|
|
Component({
|
|
|
/**
|
|
|
* 组件的属性列表
|
|
@@ -128,10 +129,14 @@ Component({
|
|
|
searchInput({
|
|
|
detail
|
|
|
}) {
|
|
|
+ clearTimeout(dowmCount);
|
|
|
this.setData({
|
|
|
['content.where.condition']: detail.trim()
|
|
|
})
|
|
|
- this.getList(true)
|
|
|
+ dowmCount = setTimeout(() => {
|
|
|
+ this.getList(true)
|
|
|
+ }, 500);
|
|
|
+
|
|
|
},
|
|
|
/* 清除搜索输入 */
|
|
|
searchClear() {
|