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 }}
|
{{ schema.label }}
|
||||||
<n-tooltip trigger="hover" :style="schema.labelMessageStyle">
|
<n-tooltip trigger="hover" :style="schema.labelMessageStyle">
|
||||||
<template #trigger>
|
<template #trigger>
|
||||||
<n-icon size="18" class="cursor-pointer text-gray-400">
|
<n-icon size="18" class="text-gray-400 cursor-pointer">
|
||||||
<QuestionCircleOutlined />
|
<QuestionCircleOutlined />
|
||||||
</n-icon>
|
</n-icon>
|
||||||
</template>
|
</template>
|
||||||
@ -263,6 +263,17 @@
|
|||||||
submit: handleSubmit,
|
submit: handleSubmit,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// 当showAdvancedButton为false时所有列表项应为全部显示
|
||||||
|
watch(
|
||||||
|
() => getProps.value.showAdvancedButton,
|
||||||
|
(show) => {
|
||||||
|
if (!show) gridCollapsed.value = false;
|
||||||
|
},
|
||||||
|
{
|
||||||
|
immediate: true,
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
watch(
|
watch(
|
||||||
() => getSchema.value,
|
() => getSchema.value,
|
||||||
(schema) => {
|
(schema) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user