From 838618ef9dfa75efba46cdb36179a558f8c6158f Mon Sep 17 00:00:00 2001 From: auven <1273961575@qq.com> Date: Sat, 25 Mar 2017 13:47:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue-blog.html | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/vue-blog.html b/vue-blog.html index 5496f3b..db53120 100644 --- a/vue-blog.html +++ b/vue-blog.html @@ -54,6 +54,7 @@
@@ -248,11 +249,6 @@ this.$http.get("https://api.github.com/repos/"+_config['owner']+"/"+_config['repo']).then(function (response) { this.ps = Math.ceil((response.data.open_issues)/_config['per_page']); console.log(this.ps, "这个是Pages"); - var pageHTML = ''; - for (var i = 1; i <= this.ps; i++) { - pageHTML += '
  • '+ i +'
  • '; - } - $(".page li:eq(0)").after(pageHTML); }, function (response) { });