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); }) },