From 85608faf85a42936c77d3672f0565bba37c97e5e Mon Sep 17 00:00:00 2001 From: Zhang HaoYang <1304907854@qq.com> Date: Sun, 2 Jul 2023 11:24:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Monthly.vue | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/src/components/Monthly.vue b/src/components/Monthly.vue index 1d5a063..9f903bd 100644 --- a/src/components/Monthly.vue +++ b/src/components/Monthly.vue @@ -44,7 +44,7 @@ 已发布

- {{ProjectNum}} + {{Monely}}


@@ -52,9 +52,9 @@

选择期数:   - + { that.ProjectNum = parseInt(res.data); - that.selectProNum = that.ProjectNum; + // console.log(res.data); + }) + }, + getMonely(){ + var that = this; + axios({ + method: 'post', + url: 'http://localhost:8082/helloGithub_war_exploded/latest', + params: { + } + }).then(function (res){ + that.Monely = res.data; + // that.Monely = parseInt(res.data); + // that.selectMonly = that.Monely; // console.log(res.data); }) },