From 82b5e37d823c215b0f66b295d2c922ba1245aff9 Mon Sep 17 00:00:00 2001 From: pzy Date: Fri, 25 Feb 2022 17:31:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=93=E9=A2=98=E6=96=87=E7=AB=A0=E6=90=9C?= =?UTF-8?q?=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/article/index.vue | 9 +++- src/views/article/subject/article.vue | 26 +++++------ src/views/article/subject/index.vue | 64 +++++++++++++-------------- 3 files changed, 50 insertions(+), 49 deletions(-) diff --git a/src/views/article/index.vue b/src/views/article/index.vue index e957843..cc9b285 100644 --- a/src/views/article/index.vue +++ b/src/views/article/index.vue @@ -208,7 +208,7 @@ :options="categoryOptions" :normalizer="normalizer" :show-count="true" - :disabled="dialogStatus=='create'" + :disabled="dialogStatus == 'create'" placeholder="选择分类" /> @@ -236,6 +236,12 @@ + + + 搜索 @@ -62,7 +63,7 @@ @@ -106,6 +107,7 @@ :limit.sync="listQuery.limit" @pagination="getList" /> +
{ this.list = response.data.list; this.total = response.data.count; - // Just to simulate the time of the request setTimeout(() => { this.listLoading = false; @@ -332,8 +328,6 @@ export default { }, handleSelectBranch(item) { - console.log("远程搜索选中后返回的item:::::即value的值"); - console.log(item); //如果要获取选择的 id或者名字 从item中取值 this.$set(this.temp, "article_id", item); }, diff --git a/src/views/article/subject/index.vue b/src/views/article/subject/index.vue index 0b682ea..87f1a29 100644 --- a/src/views/article/subject/index.vue +++ b/src/views/article/subject/index.vue @@ -1,31 +1,31 @@