From 2938d3823efdfcee0e8b221f7b260bfcee4b9eb7 Mon Sep 17 00:00:00 2001 From: shabai517 Date: Sun, 29 May 2022 19:09:23 +0800 Subject: [PATCH] disable search --- src/components/Registry.vue | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/src/components/Registry.vue b/src/components/Registry.vue index 563cec0f..3acb0ee3 100644 --- a/src/components/Registry.vue +++ b/src/components/Registry.vue @@ -100,11 +100,14 @@ -
- No Data... +
+ Input the keyword for search... +
+
+
+ No matched Data +
- -
@@ -129,7 +132,7 @@ export default { page:1, pageSize:30, cardList:[], - loading:true, + loading:false, dataFound:false, filter:'All', resultsTableCol:[ @@ -252,7 +255,8 @@ export default { facetValueArray:[], facetValue:'', facetName:'', - tagsArray:[] + tagsArray:[], + firstSearchState:false } }, beforeRouteUpdate:function (to, from, next) { @@ -310,6 +314,7 @@ export default { }, submitSearch(){ console.debug('submitSearch') + this.firstSearchState = true this.$router.push({name: 'Registry', query: this.query}); }, @@ -642,7 +647,7 @@ export default { mounted(){ console.debug('mounted') this.updateCondition(); - this.search(); + // this.search(); this.getFacets(); }