mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-02-02 18:28:41 +08:00
fix: 修复basicform表单showAdvancedButton为false列表隐藏bug
This commit is contained in:
parent
7371ab7611
commit
eb5b7f5101
@ -8,7 +8,7 @@
|
||||
{{ schema.label }}
|
||||
<n-tooltip trigger="hover" :style="schema.labelMessageStyle">
|
||||
<template #trigger>
|
||||
<n-icon size="18" class="cursor-pointer text-gray-400">
|
||||
<n-icon size="18" class="text-gray-400 cursor-pointer">
|
||||
<QuestionCircleOutlined />
|
||||
</n-icon>
|
||||
</template>
|
||||
@ -263,6 +263,17 @@
|
||||
submit: handleSubmit,
|
||||
};
|
||||
|
||||
// 当showAdvancedButton为false时所有列表项应为全部显示
|
||||
watch(
|
||||
() => getProps.value.showAdvancedButton,
|
||||
(show) => {
|
||||
if (!show) gridCollapsed.value = false;
|
||||
},
|
||||
{
|
||||
immediate: true,
|
||||
}
|
||||
);
|
||||
|
||||
watch(
|
||||
() => getSchema.value,
|
||||
(schema) => {
|
||||
|
Loading…
Reference in New Issue
Block a user