Commit 331ff3b84408967bd38360e7b0d3992d3d61b5c0
Merge branch 'fix/DEFECT-2092' into 'v1.4.0_dev'
fix: 修复TCP设备鉴权新增时,提示No enum constantorg.thingsboard.script.api.ScriptType.TRANSPORT_TCP_AUTH See merge request yunteng/thingskit-front!1346
Showing
1 changed file
with
2 additions
and
12 deletions
... | ... | @@ -43,19 +43,9 @@ export const formSchemas: FormSchema[] = [ |
43 | 43 | { |
44 | 44 | label: '脚本类型', |
45 | 45 | field: 'scriptType', |
46 | - required: true, | |
47 | - component: 'ApiRadioGroup', | |
46 | + show: false, | |
47 | + component: 'Input', | |
48 | 48 | defaultValue: 'TRANSPORT_TCP_UP', |
49 | - componentProps: () => { | |
50 | - return { | |
51 | - api: findDictItemByCode, | |
52 | - params: { | |
53 | - dictCode: 'script_type', | |
54 | - }, | |
55 | - labelField: 'itemText', | |
56 | - valueField: 'itemValue', | |
57 | - }; | |
58 | - }, | |
59 | 49 | }, |
60 | 50 | { |
61 | 51 | label: '脚本服务类型', | ... | ... |