![]()
@@ -63,7 +63,7 @@
detail: {},
selectIndex: null,
info: null,
- strategyInfo: {}
+ strategyInfo: null
}
},
mounted() {
@@ -73,8 +73,8 @@
this.get({
id: this.detail.article_id
},'/api/article/getArticleById').then(res => {
- this.strategyInfo = res.data
- })
+ if(res.data.id) this.strategyInfo = res.data
+ })
},
methods: {
// 选中景点