fix: use data instead of codes for UiCode dropdown (bricks UiCode expects opts.data)
This commit is contained in:
parent
d5f732434c
commit
5ebe83207d
@ -13,7 +13,7 @@
|
|||||||
"submit_url": "{{entire_url('./api/copy_uapi.dspy')}}",
|
"submit_url": "{{entire_url('./api/copy_uapi.dspy')}}",
|
||||||
"fields": [
|
"fields": [
|
||||||
{"name": "source_upappid", "uitype": "hide", "value": "{{params_kw.get('upappid', '')}}"},
|
{"name": "source_upappid", "uitype": "hide", "value": "{{params_kw.get('upappid', '')}}"},
|
||||||
{"name": "target_upappid", "uitype": "code", "label": "目标上位系统", "required": true, "codes": {{json.dumps(upapps, ensure_ascii=False)}}}
|
{"name": "target_upappid", "uitype": "code", "label": "目标上位系统", "required": true, "data": {{json.dumps(upapps, ensure_ascii=False)}}}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"binds": [
|
"binds": [
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user