|
@@ -91,8 +91,7 @@ export default {
|
|
|
if (res.Content.length) {
|
|
|
for (let i = 0; i < res.Content.length; i++) {
|
|
|
if (res.Content[i].Type == "最后一次执行时间") {
|
|
|
- this.lastUpdateTime = res.Content[i].Content.substr(0,res.Content[i].Content.lastIndexOf('.'));
|
|
|
- this.tipsType = 1;
|
|
|
+ this.lastUpdateTime = res.Content[i].Content.substr(0, res.Content[i].Content.lastIndexOf('.'));
|
|
|
}
|
|
|
if (res.Content[i].Type == "原始点位增删") {
|
|
|
this.tipsType = 2;
|
|
@@ -105,6 +104,9 @@ export default {
|
|
|
this.ruleDialogShow = true;
|
|
|
}
|
|
|
}
|
|
|
+ if (res.Content.length < 2) {
|
|
|
+ this.tipsType = 1;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
});
|