Commit 62cd3579 by 史敦盼

判空

1 parent f9ab7024
Showing with 1 additions and 1 deletions
...@@ -150,7 +150,7 @@ export default { ...@@ -150,7 +150,7 @@ export default {
query_jia_gou_gui_shu({}).then((res) => { query_jia_gou_gui_shu({}).then((res) => {
if (res.code == 200) { if (res.code == 200) {
this.search_select1 = res.data this.search_select1 = res.data
this.showCurrentGraph(this.search_select1[0].name, 0) this.showCurrentGraph(this.search_select1[0]?.name, 0)
} else { } else {
this.$message.warning(res.msg) this.$message.warning(res.msg)
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!