refactor: 优化前端展示
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
function bookForm() {
|
||||
return {
|
||||
debug: '${debug}',
|
||||
type: 'form',
|
||||
...horizontalFormOptions(),
|
||||
body: [
|
||||
@@ -39,7 +38,6 @@ function bookForm() {
|
||||
extractValue: true,
|
||||
max: 10,
|
||||
maxTagLength: 10,
|
||||
maxTagCount: 5,
|
||||
source: '${base}/book/tags'
|
||||
},
|
||||
{
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
function chapterForm() {
|
||||
return {
|
||||
debug: '${debug}',
|
||||
type: 'form',
|
||||
...horizontalFormOptions(),
|
||||
body: [
|
||||
|
||||
@@ -32,5 +32,6 @@ function paginationOption() {
|
||||
layout: 'total,perPage,pager',
|
||||
maxButtons: 5,
|
||||
showPageInput: false,
|
||||
total: '${total}'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user