1
0

feat: 完成基本功能

This commit is contained in:
2024-12-22 01:33:46 +08:00
parent 779cd23b8b
commit 0c979985ed
10 changed files with 803 additions and 96 deletions

View File

@@ -0,0 +1,36 @@
function crudCommonOptions() {
return {
affixHeader: false,
stopAutoRefreshWhenModalIsOpen: true,
resizable: false,
syncLocation: false,
silentPolling: true,
}
}
function horizontalFormOptions() {
return {
mode: 'horizontal',
canAccessSuperData: false,
horizontal: {
left: 1,
},
}
}
function formInputClearable() {
return {
clearable: true,
clearValueOnEmpty: true,
}
}
function paginationOption() {
return {
type: 'pagination',
mode: 'normal',
layout: 'total,perPage,pager',
maxButtons: 5,
showPageInput: false,
}
}