Showing
1 changed file
with
1 additions
and
5 deletions
| ... | ... | @@ -10,7 +10,6 @@ import { findDictItemByCode } from '/@/api/system/dict'; |
| 10 | 10 | import { DeviceTypeEnum } from '/@/api/device/model/deviceModel'; |
| 11 | 11 | import { DataTypeEnum } from '/@/components/Form/src/externalCompns/components/StructForm/config'; |
| 12 | 12 | import { TransportTypeEnum } from '/@/views/device/profiles/components/TransportDescript/const'; |
| 13 | -import { nextTick } from 'vue'; | |
| 14 | 13 | |
| 15 | 14 | export enum BasicConfigField { |
| 16 | 15 | NAME = 'name', |
| ... | ... | @@ -183,7 +182,7 @@ export const dataSourceSchema = (isEdit: boolean, frontId?: FrontComponent): For |
| 183 | 182 | colProps: { span: 8 }, |
| 184 | 183 | rules: [{ required: true, message: '组织为必填项' }], |
| 185 | 184 | componentProps({ formActionType }) { |
| 186 | - const { setFieldsValue, getFieldsValue } = formActionType; | |
| 185 | + const { setFieldsValue } = formActionType; | |
| 187 | 186 | return { |
| 188 | 187 | placeholder: '请选择组织', |
| 189 | 188 | api: async () => { |
| ... | ... | @@ -195,9 +194,6 @@ export const dataSourceSchema = (isEdit: boolean, frontId?: FrontComponent): For |
| 195 | 194 | setFieldsValue({ |
| 196 | 195 | [DataSourceField.DEVICE_ID]: null, |
| 197 | 196 | }); |
| 198 | - nextTick(() => { | |
| 199 | - console.log('org change', getFieldsValue()); | |
| 200 | - }); | |
| 201 | 197 | }, |
| 202 | 198 | getPopupContainer: () => document.body, |
| 203 | 199 | }; | ... | ... |