🔱: [client] sync upgrade with 4 commits [trident-sync]

chore: 1.13.10
chore: 1.13.9
fix: 恢复search插槽
This commit is contained in:
GitHub Actions Bot
2023-05-31 19:24:04 +00:00
parent 02466ea0bd
commit dc735a8aa2
4 changed files with 39 additions and 8 deletions
@@ -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>