async getDataNew () {
const res = await this.$api('apiPath')
if (res && res.status === 20) {
// do something
}
}
async await $api vue
猜你喜欢
转载自www.cnblogs.com/pengchenggang/p/12736655.html
今日推荐
周排行