Commit 8806a32e authored by 张俊's avatar 张俊

兼容数据格式

parent 37c03ce7
......@@ -181,7 +181,11 @@ export default {
.get(`/apaas/service/v3/recommend/manage/featured/services/${this.$route.query.ad_type}`)
.then((response) => {
if (response.data.success) {
this.selected_arr = response.data.data;
if( response.data.data){
this.selected_arr = response.data.data;
}else{
this.selected_arr = [];
}
}
});
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment