修改搜索功能
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
:schemas="searchColumns"
|
||||
:rules="searchRules"
|
||||
:label-width="searchLabelWidth"
|
||||
:action-align="searchActionAlign"
|
||||
:size="size"
|
||||
inline
|
||||
v-show="showSearch"
|
||||
@@ -178,6 +179,11 @@ const props = defineProps({
|
||||
type: [String, Number],
|
||||
default: 'auto'
|
||||
},
|
||||
// 搜索按钮区对齐:left / center(搜索项较多按钮换行时可用 center 让按钮居中)
|
||||
searchActionAlign: {
|
||||
type: String,
|
||||
default: 'left'
|
||||
},
|
||||
// 列表加载函数:(params) => Promise<{rows, total}> | {rows, total}
|
||||
query: {
|
||||
type: Function,
|
||||
|
||||
Reference in New Issue
Block a user