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