From 93ebe9c7ac4e6d3f4fb992e42ae38949cfed50db Mon Sep 17 00:00:00 2001 From: Tcsm <1377977403@qq.com> Date: 星期二, 09 五月 2023 00:17:08 +0800 Subject: [PATCH] 家根网页面实现点击不同的代数显示不同的头像数量 --- ruoyi-ui/src/views/pet/petInfo.vue | 12 +++--------- 1 files changed, 3 insertions(+), 9 deletions(-) diff --git a/ruoyi-ui/src/views/pet/petInfo.vue b/ruoyi-ui/src/views/pet/petInfo.vue index cef38a2..7a4f7f2 100644 --- a/ruoyi-ui/src/views/pet/petInfo.vue +++ b/ruoyi-ui/src/views/pet/petInfo.vue @@ -414,17 +414,11 @@ this.loading = true; // this.queryParams.happenStartTime = this.dateRange.length > 0 && this.dateRange[0] // this.queryParams.happenEndTime = this.dateRange.length > 0 && this.dateRange[1] - - // console.log(this.queryParams) this.queryParams.pid = this.pid; // listProperty(this.addDateRange(this.queryParams, this.dateRange)).then(response => { - listPetnote(this.queryParams).then(response => { - // alert(123) - // console.log(response.data) - console.log(response.data) - this.PetNoteList = response.data.data; - - this.total = response.data.total; + getPetnoteList(this.pid).then(response => { + this.PetNoteList = response.data; + this.total = response.data.length; this.loading = false; } ); -- Gitblit v1.9.1