|
@@ -1020,7 +1020,7 @@
|
|
|
v-if="iotDialog.show"
|
|
|
:visible="true"
|
|
|
width="472px"
|
|
|
- class="data-dialog"
|
|
|
+ dialogClassName="iot-dialog"
|
|
|
:header="iotDialog.header"
|
|
|
@close="iotDialog.show = false"
|
|
|
@confirm="onOkIot"
|
|
@@ -1251,6 +1251,7 @@ const onOkIot = () => {
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
+ _iots.forEach((item)=>{item.checkable = false});
|
|
|
data.iotTree = _iots;
|
|
|
if (!meta2d.store.data.iot) {
|
|
|
meta2d.store.data.iot = {};
|
|
@@ -2846,4 +2847,12 @@ const deleteMock = (index: number) => {
|
|
|
height: 100%;
|
|
|
padding: 0px;
|
|
|
}
|
|
|
+
|
|
|
+.iot-dialog{
|
|
|
+ .t-tree--checkable{
|
|
|
+ .t-tree__item[data-level='1'] {
|
|
|
+ padding: 0 0 0 16px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
</style>
|