diff --git a/views/newblog.html b/views/newblog.html index 3c56d86..0f3f28c 100644 --- a/views/newblog.html +++ b/views/newblog.html @@ -175,7 +175,7 @@ $.get('/api/cats', function (data) { if (data.Status == 0) { - _this.cats = tdata + _this.cats = data.Data } else if (data.Status == 401) { window.location.href = "/login" } else if (data.Status == 500) {