|
@@ -233,7 +233,11 @@ export default {
|
|
|
return { id: v.id, name: v.localName || '--' };
|
|
|
});
|
|
|
this.spacePartitionInstance = [];
|
|
|
- this.selectData = data;
|
|
|
+ if (data.length) {
|
|
|
+ this.selectData = data;
|
|
|
+ } else {
|
|
|
+ this.selectData = [{ disabled: true, name: "暂无数据", id: "" }];
|
|
|
+ }
|
|
|
},
|
|
|
// 空间功能类型
|
|
|
async getDict() {
|