mirror of
https://github.com/certd/certd.git
synced 2026-04-24 12:27:25 +08:00
🔱: [client] sync upgrade with 4 commits [trident-sync]
chore: 1.13.10 chore: 1.13.9 fix: 恢复search插槽
This commit is contained in:
@@ -25,6 +25,27 @@ export default function ({ crudExpose }: CreateCrudOptionsProps): CreateCrudOpti
|
||||
editRequest,
|
||||
delRequest
|
||||
},
|
||||
search: {
|
||||
container: {
|
||||
action: {
|
||||
col: {
|
||||
span: 16
|
||||
}
|
||||
}
|
||||
},
|
||||
buttons: {
|
||||
change: {
|
||||
text: "切换模式",
|
||||
click() {
|
||||
if (crudExpose.crudBinding.value.search.container.layout === "multi-line") {
|
||||
crudExpose.crudBinding.value.search.container.layout = "default";
|
||||
} else {
|
||||
crudExpose.crudBinding.value.search.container.layout = "multi-line";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
columns: {
|
||||
id: {
|
||||
title: "ID",
|
||||
|
||||
@@ -15,13 +15,13 @@
|
||||
</template>
|
||||
|
||||
<template #search-left>
|
||||
<a-button type="danger">search-left插槽</a-button>
|
||||
<fs-button type="danger">search-left插槽</fs-button>
|
||||
</template>
|
||||
<template #search-middle>
|
||||
<a-button type="danger">search-middle</a-button>
|
||||
<fs-button type="danger">search-middle</fs-button>
|
||||
</template>
|
||||
<template #search-right>
|
||||
<a-button type="danger">search-right插槽</a-button>
|
||||
<fs-button type="danger">search-right插槽</fs-button>
|
||||
</template>
|
||||
|
||||
<template #actionbar-left>
|
||||
|
||||
Reference in New Issue
Block a user