From 4b0a2b3cdfb99bc4ecc9fce6390b9ec6f4c4a2e5 Mon Sep 17 00:00:00 2001 From: Tcsm <1377977403@qq.com> Date: 星期四, 18 五月 2023 22:58:21 +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