From 00a55b1d25a80e1ee255647eb57c677e99860279 Mon Sep 17 00:00:00 2001 From: daihh Date: Tue, 14 Mar 2023 12:20:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E8=AF=BE=E7=A8=8B=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0url=E4=B8=AD=E4=BC=A0keyword=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/resource/search.vue | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pages/resource/search.vue b/pages/resource/search.vue index c3ed0ea..e9e2026 100644 --- a/pages/resource/search.vue +++ b/pages/resource/search.vue @@ -338,14 +338,20 @@ }else{ this.conType=1; } - if(options.keyword){ - this.keyword=options.keyword; - } + this.loadSeachWords(); if(this.audiences.length==0){ apiUserbasic.getInAudienceIds(this.userInfo.aid).then(rs=>{ this.audiences=rs; + if(options.keyword){ + this.wordSearch(options.keyword); + } + }); + }else{ + if(options.keyword){ + this.wordSearch(options.keyword); + } } }, computed:{