You need to sign in or sign up before continuing.
|
@@ -4,6 +4,7 @@ |
|
@@ -4,6 +4,7 @@ |
|
4
|
v-model:value="selectValue"
|
4
|
v-model:value="selectValue"
|
|
5
|
style="width: 100%"
|
5
|
style="width: 100%"
|
|
6
|
:options="selectOptions"
|
6
|
:options="selectOptions"
|
|
|
|
7
|
+ v-bind="createPickerSearch()"
|
|
7
|
@change="handleDeviceChange"
|
8
|
@change="handleDeviceChange"
|
|
8
|
:disabled="disabled"
|
9
|
:disabled="disabled"
|
|
9
|
mode="multiple"
|
10
|
mode="multiple"
|
|
@@ -23,6 +24,7 @@ |
|
@@ -23,6 +24,7 @@ |
|
23
|
import { Select } from 'ant-design-vue';
|
24
|
import { Select } from 'ant-design-vue';
|
|
24
|
import SelectAttributes from './SelectAttributes.vue';
|
25
|
import SelectAttributes from './SelectAttributes.vue';
|
|
25
|
import { TDeviceList, TSelectOption } from '../type';
|
26
|
import { TDeviceList, TSelectOption } from '../type';
|
|
|
|
27
|
+ import { createPickerSearch } from '/@/utils/pickerSearch';
|
|
26
|
|
28
|
|
|
27
|
const props = defineProps({
|
29
|
const props = defineProps({
|
|
28
|
selectOptions: {
|
30
|
selectOptions: {
|
|
@@ -198,6 +198,7 @@ |
|
@@ -198,6 +198,7 @@ |
|
198
|
<component
|
198
|
<component
|
|
199
|
:ref="(event) => setDataSourceFormsEl(item.uuid, event, index)"
|
199
|
:ref="(event) => setDataSourceFormsEl(item.uuid, event, index)"
|
|
200
|
class="flex-1 bg-light-50 dark:bg-dark-400"
|
200
|
class="flex-1 bg-light-50 dark:bg-dark-400"
|
|
|
|
201
|
+ style="max-width: calc(100% - 216px)"
|
|
201
|
:is="getComponent"
|
202
|
:is="getComponent"
|
|
202
|
:component-config="componentConfig"
|
203
|
:component-config="componentConfig"
|
|
203
|
:values="item"
|
204
|
:values="item"
|
|
@@ -235,3 +236,11 @@ |
|
@@ -235,3 +236,11 @@ |
|
235
|
/>
|
236
|
/>
|
|
236
|
</section>
|
237
|
</section>
|
|
237
|
</template>
|
238
|
</template>
|
|
|
|
239
|
+
|
|
|
|
240
|
+<style scoped lang="less">
|
|
|
|
241
|
+ :deep(#deviceId) {
|
|
|
|
242
|
+ div {
|
|
|
|
243
|
+ width: 100%;
|
|
|
|
244
|
+ }
|
|
|
|
245
|
+ }
|
|
|
|
246
|
+</style> |