mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2025-12-12 13:42:50 +00:00
优化
This commit is contained in:
parent
8ada932c8c
commit
973320cea7
@ -129,7 +129,7 @@
|
||||
</slot>
|
||||
</div>
|
||||
|
||||
<div class="content" v-if="selected">
|
||||
<div class="content" v-if="selected || config.custom">
|
||||
<slot name="right"></slot>
|
||||
</div>
|
||||
|
||||
@ -173,7 +173,8 @@ const config = reactive(
|
||||
service: {},
|
||||
enableContextMenu: true,
|
||||
enableRefresh: true,
|
||||
enableAdd: true
|
||||
enableAdd: true,
|
||||
custom: false
|
||||
},
|
||||
inject("useViewGroup__options")
|
||||
)
|
||||
@ -418,13 +419,15 @@ onMounted(() => {
|
||||
});
|
||||
|
||||
defineExpose({
|
||||
list,
|
||||
selected,
|
||||
isExpand,
|
||||
expand,
|
||||
select,
|
||||
browser,
|
||||
edit,
|
||||
remove
|
||||
remove,
|
||||
refresh
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
@ -5,8 +5,8 @@ export default (): ModuleConfig => {
|
||||
label: "视图组件",
|
||||
description: "左右侧布局、顶部详情等",
|
||||
author: "COOL",
|
||||
version: "1.0.1",
|
||||
updateTime: "2024-02-19",
|
||||
version: "1.0.2",
|
||||
updateTime: "2024-02-26",
|
||||
demo: [
|
||||
{
|
||||
name: "左右侧布局",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user