From c9b62477e6234e5fef08d978dc0a877143351344 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=8B=E4=BA=8E=E5=88=9D=E8=A7=81?= <752204717@qq.com> Date: Fri, 18 Apr 2025 13:00:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/page/articleReviewerAIAdd.vue | 7 +++++-- src/components/page/articleReviewerAdd.vue | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/components/page/articleReviewerAIAdd.vue b/src/components/page/articleReviewerAIAdd.vue index e1ba991..4f4f03b 100644 --- a/src/components/page/articleReviewerAIAdd.vue +++ b/src/components/page/articleReviewerAIAdd.vue @@ -109,12 +109,14 @@ export default { methods: { // 获取编辑列表数据 getDate() { + this.$emit('loading',true) this.$api .post('/api/Recommend/lists', this.messform) .then((res) => { this.revTable = res.data.lists; this.Total = res.data.total; - this.loading = false; + this.$emit('loading',false) + // this.loading = false; }) .catch((err) => { console.log(err); @@ -123,7 +125,8 @@ export default { // 关键字搜索 handleSearch() { - this.loading = true; + + // this.loading = true; // console.log(this.messform) this.getDate(); }, diff --git a/src/components/page/articleReviewerAdd.vue b/src/components/page/articleReviewerAdd.vue index 6865c25..61d2c4e 100644 --- a/src/components/page/articleReviewerAdd.vue +++ b/src/components/page/articleReviewerAdd.vue @@ -120,7 +120,7 @@
- +