methods:{
//编辑
async editinventory(id){ //async
this.edit = true
let api = "/demo/editinventory";
await this.$axios //await
.get(api, { params: {id:id } },false)
.then((response) => {
this.editlist = response.data
});
}
},
}
axios 同步问题
最新推荐文章于 2024-03-22 14:39:10 发布