|
@@ -26,7 +26,7 @@ var app = new Vue({
|
|
|
getInfo: function(){
|
|
getInfo: function(){
|
|
|
var _this = this;
|
|
var _this = this;
|
|
|
$.showLoading("数据加载中...");
|
|
$.showLoading("数据加载中...");
|
|
|
- $.post('/api/member/getHomeInfo', {}, function (res) {
|
|
|
|
|
|
|
+ $.post('/api/member/getHomeInfo', {type: 1}, function (res) {
|
|
|
$.hideLoading();
|
|
$.hideLoading();
|
|
|
if (res.code == 'success'){
|
|
if (res.code == 'success'){
|
|
|
_this.memberInfo = res.data.homeInfo
|
|
_this.memberInfo = res.data.homeInfo
|