Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

后台模型增改查(Admin/Think)中添加int型外键和string型外键的支持。 #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wangyangcn
Copy link

使用方法:在外键字段属性编辑页中,将“字段类型”选择为“int型外键”,然后在参数框中填入

table:your_table_name
key:key_column_name
value:value_column_name

以document表的category_id字段为例,参数框中填写:

table:category
key:id
value:title

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant