From 22a99e5cc2bf4ef2545d515e02d4f4f9687ca86e Mon Sep 17 00:00:00 2001 From: asd Date: Tue, 3 Dec 2019 17:10:53 +0800 Subject: [PATCH] sousuo11 --- src/IndexFind.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/IndexFind.vue b/src/IndexFind.vue index f71fc32..452d8f6 100644 --- a/src/IndexFind.vue +++ b/src/IndexFind.vue @@ -16,7 +16,7 @@
- +
{{text}}
@@ -238,12 +238,12 @@ methods:{ serch(e){ let t=this; window.console.log(e) - t.axios.post("http://lawpro.earnest.pro/api/login_main/indexsearch", {where:t.$route.query.word,type:this.no}).then((res)=>{ + t.axios.post("http://lawpro.earnest.pro/api/login_main/indexsearch", {where:e,type:this.no}).then((res)=>{ // window.console.log(res) - for(let i in res.data.data){ - res.data.data[i].avatar= res.data.data[i].avatar.substr(1) - res.data.data[i].avatar= "http://lawpro.earnest.pro/"+res.data.data[i].avatar - } + // for(let i in res.data.data){ + // res.data.data[i].avatar= res.data.data[i].avatar.substr(1) + // res.data.data[i].avatar= "http://lawpro.earnest.pro/"+res.data.data[i].avatar + // } // t.list=res.data.data if (res.data.code == 200) { t.list = res.data.data;