ol-base-components 2.0.1 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -284,10 +284,7 @@ export default {
|
|
|
284
284
|
},
|
|
285
285
|
data() {
|
|
286
286
|
return {
|
|
287
|
-
findTableSearch:
|
|
288
|
-
this.formSearchData.tableSearch.length > this.tableSearchSlice
|
|
289
|
-
? this.formSearchData.tableSearch.slice(0, this.tableSearchSlice)
|
|
290
|
-
: this.formSearchData.tableSearch,
|
|
287
|
+
findTableSearch: {},
|
|
291
288
|
expend: !this.formSearchData.expendShow,
|
|
292
289
|
formSearch: {
|
|
293
290
|
...this.formSearchData.value,
|
|
@@ -374,7 +371,9 @@ export default {
|
|
|
374
371
|
})
|
|
375
372
|
}
|
|
376
373
|
}
|
|
377
|
-
|
|
374
|
+
this.findTableSearch = this.formSearchData.tableSearch.length > this.tableSearchSlice
|
|
375
|
+
? this.formSearchData.tableSearch.slice(0, this.tableSearchSlice)
|
|
376
|
+
: this.formSearchData.tableSearch
|
|
378
377
|
console.log(`\x1b[36m\x1b[4mol插件-搜索框渲染`, this.formSearchData.tableSearch)
|
|
379
378
|
},
|
|
380
379
|
// 树形下拉
|
|
@@ -386,6 +385,9 @@ export default {
|
|
|
386
385
|
if (this.formSearch.createdTime) {
|
|
387
386
|
this.formSearch.BeginTime = this.formSearch.createdTime[0];
|
|
388
387
|
this.formSearch.EndTime = this.formSearch.createdTime[1];
|
|
388
|
+
} else {
|
|
389
|
+
this.formSearch.BeginTime = null;
|
|
390
|
+
this.formSearch.EndTime = null;
|
|
389
391
|
}
|
|
390
392
|
const tempFormSearch = Object.assign({}, this.formSearch)
|
|
391
393
|
if (this.formSearchData.rules) {
|