|
@@ -209,13 +209,15 @@ export default {
|
|
|
.then((mres) => {
|
|
|
if (mres.status == 200) {
|
|
|
this.questionList[mindex].mstatus = 2;
|
|
|
- if (mres.data.type == "selectLand") {
|
|
|
- if (mres.data.data) {
|
|
|
+ if (mres.data.code == 200 && mres.data.data) {
|
|
|
+ if (mres.data.type == "selectLand") {
|
|
|
this.questionList.push({ content: "分析中...请稍等" });
|
|
|
this.AddFzxz(mres.data.data, mres.data.type);
|
|
|
}
|
|
|
} else {
|
|
|
- this.questionList.push({ content: "抱歉!缺少分析数据" });
|
|
|
+ this.questionList.push({
|
|
|
+ content: mres.data.data || "抱歉!缺少分析数据",
|
|
|
+ });
|
|
|
}
|
|
|
} else {
|
|
|
this.questionList[mindex].mstatus = 1;
|