|
|
@@ -407,8 +407,11 @@ export default {
|
|
|
// api.getPointIds(this.id).then((res) => {
|
|
|
// this.defaultSelect = res.data;
|
|
|
// });
|
|
|
-
|
|
|
- return this.tableData.map((d) => d.id);
|
|
|
+ if (!this.tableData) {
|
|
|
+ return [];
|
|
|
+ } else {
|
|
|
+ return this.tableData.map((d) => d.id);
|
|
|
+ }
|
|
|
},
|
|
|
openSelect() {
|
|
|
this.$refs.DialogSelect.show(this.getIteamF());
|