Replies: 3 comments 1 reply
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
有具体的介绍代码吗? |
Beta Was this translation helpful? Give feedback.
1 reply
-
嗯,已解决 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
amis()->SelectControl('country_id', '国家')
->options(CountryService::make()->query()->get(['id', 'name']))
->labelField('name')
->valueField('id')
->required(),
这样在form里正常显示没有问题
如何在list和detail里显示
amis()->TableColumn('country_id', '国家'),
amis()->TextControl('country_id', '国家')->static(),
Beta Was this translation helpful? Give feedback.
All reactions