fix: 优化系统默认配置。
This commit is contained in:
parent
ebb884fc19
commit
37668976bb
@ -27,7 +27,7 @@ setupVbenVxeTable({
|
||||
showOverflow: true,
|
||||
pagerConfig: {
|
||||
// 默认条数
|
||||
pageSize: 10,
|
||||
pageSize: 20,
|
||||
// 分页可选条数
|
||||
pageSizes: [10, 20, 30, 40, 50],
|
||||
},
|
||||
@ -53,7 +53,7 @@ setupVbenVxeTable({
|
||||
// 圆角按钮
|
||||
round: true,
|
||||
// 表格尺寸
|
||||
size: 'medium',
|
||||
size: 'mini',
|
||||
customConfig: {
|
||||
// 表格右上角自定义列配置 是否保存到localStorage
|
||||
// 必须存在id参数才能使用
|
||||
|
@ -39,5 +39,6 @@ export const overridesPreferences = defineOverridesPreferences({
|
||||
* 浅色sidebar
|
||||
*/
|
||||
semiDarkSidebar: false,
|
||||
radius: '0.25',
|
||||
},
|
||||
});
|
||||
|
@ -193,7 +193,6 @@ async function generateAccess(options: GenerateMenuAndRoutesOptions) {
|
||||
const vbenMenuList = backMenuToVbenMenu(backMenuList);
|
||||
// 特别注意 这里要深拷贝
|
||||
const menuList = [...cloneDeep(localMenuList), ...vbenMenuList];
|
||||
console.log('menuList', menuList);
|
||||
return menuList;
|
||||
},
|
||||
// 可以指定没有权限跳转403页面
|
||||
|
@ -243,7 +243,7 @@ const defaultPreferences: Preferences = {
|
||||
colorSuccess: 'hsl(144 57% 58%)',
|
||||
colorWarning: 'hsl(42 84% 61%)',
|
||||
mode: 'dark',
|
||||
radius: '0.5',
|
||||
radius: '0.25',
|
||||
semiDarkHeader: false,
|
||||
semiDarkSidebar: true,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user