1
0
This repository has been archived on 2025-09-28. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
bookstore_old/src/main/resources/static/components/helper.js

38 lines
718 B
JavaScript

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,
total: '${total}'
}
}