refactor: 优化字典相关样式,引入颜色选择器优化背景色输入

vue3-colorpicker
This commit is contained in:
2023-09-16 21:22:02 +08:00
parent ca51702035
commit 9ed63dbd76
7 changed files with 105 additions and 42 deletions

View File

@@ -19,7 +19,7 @@ CREATE TABLE IF NOT EXISTS `sys_dict_item` (
`id` bigint(20) UNSIGNED AUTO_INCREMENT COMMENT 'ID',
`label` varchar(50) NOT NULL COMMENT '字典标签',
`value` varchar(50) NOT NULL COMMENT '字典值',
`color` varchar(20) DEFAULT NULL COMMENT '背景颜色',
`color` varchar(30) DEFAULT NULL COMMENT '背景颜色',
`sort` int(11) UNSIGNED DEFAULT 999 COMMENT '字典项排序',
`description` varchar(512) DEFAULT NULL COMMENT '描述',
`dict_id` bigint(20) UNSIGNED NOT NULL COMMENT '字典ID',