您的位置:首页 > 产品设计 > UI/UE

vue-cli 接口返回数据key为id 不能被iview的表格渲染,关键字id冲突,更改key值

2017-11-13 11:01 471 查看
addcate(){
let that = this;
console.log(this.catename);
this.$http.post('http://127.0.0.1/tp51/public/index/cate/addcate', {
catename:this.catename
}).then(function (response) {
console.log(response.data);
//          that.data6 = response.data;
}).catch(function (error) {
});
},




内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐