We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 234bf70 commit ebd65c8Copy full SHA for ebd65c8
backend/plugin/dict/model/dict_data.py
@@ -21,7 +21,7 @@ class DictData(Base):
21
__tablename__ = 'sys_dict_data'
22
23
id: Mapped[id_key] = mapped_column(init=False)
24
- label: Mapped[str] = mapped_column(String(32), unique=True, comment='字典标签')
+ label: Mapped[str] = mapped_column(String(32), comment='字典标签')
25
value: Mapped[str] = mapped_column(String(32), comment='字典值')
26
sort: Mapped[int] = mapped_column(default=0, comment='排序')
27
status: Mapped[int] = mapped_column(default=1, comment='状态(0停用 1正常)')
backend/plugin/dict/plugin.toml
@@ -1,6 +1,6 @@
1
[plugin]
2
summary = '数据字典'
3
-version = '0.0.2'
+version = '0.0.3'
4
description = '通常用于约束前端工程数据展示'
5
author = 'wu-clan'
6
0 commit comments