Commit 1aba93ee authored by huhaiqing's avatar huhaiqing

兼容报错

parent b6f055c3
......@@ -777,8 +777,8 @@ export default {
serviceClick(row) {
if(row.otherService) {
this.lineform.startDestination = row.otherService.split(",");
this.lineform.endDestination = row.otherService.split(",");
this.lineform.startDestination = row.otherService?.split(",") ?? [];
this.lineform.endDestination = row.otherService?.split(",") ?? [];
} else {
this.lineform.startDestination = [];
this.lineform.endDestination = [];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment