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) {
});
},
vue-cli 接口返回数据key为id 不能被iview的表格渲染,关键字id冲突,更改key值
猜你喜欢
转载自blog.csdn.net/guohao326/article/details/78518187
今日推荐
周排行