refactor(system/dict): 优化字典项颜色

This commit is contained in:
2025-03-24 22:53:03 +08:00
parent 3854040d11
commit 1861a80979
3 changed files with 20 additions and 20 deletions

View File

@@ -214,13 +214,13 @@ VALUES
INSERT INTO `sys_dict_item`
(`id`, `label`, `value`, `color`, `sort`, `description`, `status`, `dict_id`, `create_user`, `create_time`)
VALUES
(1, '通知', '1', 'blue', 1, NULL, 1, 1, 1, NOW()),
(2, '活动', '2', 'orangered', 2, NULL, 1, 1, 1, NOW()),
(3, '安全消息', '1', 'blue', 1, NULL, 1, 2, 1, NOW()),
(4, '活动消息', '2', 'orangered', 2, NULL, 1, 2, 1, NOW()),
(5, '桌面端', 'PC', 'blue', 1, NULL, 1, 3, 1, NOW()),
(6, '安卓', 'ANDROID', '#148628', 2, NULL, 1, 3, 1, NOW()),
(7, '小程序', 'XCX', '#7930AD', 3, NULL, 1, 3, 1, NOW());
(1, '通知', '1', 'primary', 1, NULL, 1, 1, 1, NOW()),
(2, '活动', '2', 'success', 2, NULL, 1, 1, 1, NOW()),
(3, '安全消息', '1', 'warning', 1, NULL, 1, 2, 1, NOW()),
(4, '活动消息', '2', 'success', 2, NULL, 1, 2, 1, NOW()),
(5, '桌面端', 'PC', 'primary', 1, NULL, 1, 3, 1, NOW()),
(6, '安卓', 'ANDROID', 'success', 2, NULL, 1, 3, 1, NOW()),
(7, '小程序', 'XCX', 'warning', 3, NULL, 1, 3, 1, NOW());
-- 初始化默认用户和角色关联数据
INSERT INTO `sys_user_role`

View File

@@ -214,13 +214,13 @@ VALUES
INSERT INTO "sys_dict_item"
("id", "label", "value", "color", "sort", "description", "status", "dict_id", "create_user", "create_time")
VALUES
(1, '通知', '1', 'blue', 1, NULL, 1, 1, 1, NOW()),
(2, '活动', '2', 'orangered', 2, NULL, 1, 1, 1, NOW()),
(3, '安全消息', '1', 'blue', 1, NULL, 1, 2, 1, NOW()),
(4, '活动消息', '2', 'orangered', 2, NULL, 1, 2, 1, NOW()),
(5, '桌面端', 'PC', 'blue', 1, NULL, 1, 3, 1, NOW()),
(6, '安卓', 'ANDROID', '#148628', 2, NULL, 1, 3, 1, NOW()),
(7, '小程序', 'XCX', '#7930AD', 3, NULL, 1, 3, 1, NOW());
(1, '通知', '1', 'primary', 1, NULL, 1, 1, 1, NOW()),
(2, '活动', '2', 'success', 2, NULL, 1, 1, 1, NOW()),
(3, '安全消息', '1', 'warning', 1, NULL, 1, 2, 1, NOW()),
(4, '活动消息', '2', 'success', 2, NULL, 1, 2, 1, NOW()),
(5, '桌面端', 'PC', 'primary', 1, NULL, 1, 3, 1, NOW()),
(6, '安卓', 'ANDROID', 'success', 2, NULL, 1, 3, 1, NOW()),
(7, '小程序', 'XCX', 'warning', 3, NULL, 1, 3, 1, NOW());
-- 初始化默认用户和角色关联数据
INSERT INTO "sys_user_role"