diff --git a/src/project/baiduAI/AppDialogue/AppDialogue.vue b/src/project/baiduAI/AppDialogue/AppDialogue.vue index 8ff3bc4..b118eca 100644 --- a/src/project/baiduAI/AppDialogue/AppDialogue.vue +++ b/src/project/baiduAI/AppDialogue/AppDialogue.vue @@ -356,6 +356,11 @@ export default { this.typeList = res.data.records this.aiConfigId = this.typeList[0].dictValue this.aiConfigName = this.typeList[0].dictName + if(this.typeList[0].ability == 1) { + this.getLocation() + }else { + this.latLng = '' + } // this.getHistoryList() } })