Commit 4bd44bb5 authored by nick zheng's avatar nick zheng

fix: 应用配置记忆片段开启按钮无效

parent 0e5c7b82
......@@ -71,6 +71,7 @@ function handleDeleteMemoryVariableItem(memoryVariable: object) {
}
function handleChangeMemoryFragmentState(value: boolean) {
isLongMemory.value = value ? 'Y' : 'N'
isOpenLongMemory.value = value
}
</script>
......@@ -128,7 +129,7 @@ function handleChangeMemoryFragmentState(value: boolean) {
}}
</div>
<div
v-show="variableStructure !== null"
v-show="variableStructure?.length && variableStructure !== null"
class="mt-4 flex flex-1 flex-wrap items-center gap-[12px] overflow-hidden"
>
<div
......@@ -190,7 +191,6 @@ function handleChangeMemoryFragmentState(value: boolean) {
</n-popover>
</div>
</div>
<div class="flex flex-1 flex-wrap items-center gap-[12px] overflow-hidden"></div>
</NCollapseItem>
<NCollapseItem name="memoryFragment" class="my-[13px]!">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment