Update PaneTitleBar.vue

This commit is contained in:
Baobhan Sith
2025-05-03 20:42:52 +08:00
parent 4a2527f0d0
commit 17fabb0f0b
@@ -20,7 +20,6 @@ const layoutStore = useLayoutStore();
// --- Methods ---
const closePane = () => {
console.log(`[PaneTitleBar] Requesting to close pane: ${props.paneName}`);
// layoutStore.setPaneVisibility(props.paneName, false);
};
</script>
@@ -28,7 +27,7 @@ const closePane = () => {
<div class="pane-title-bar">
<span class="title">{{ title }}</span>
<button class="close-button" @click="closePane" :title="`关闭 ${title}`">
&times; <!-- 使用 HTML 实体 '×' -->
&times;
</button>
</div>
</template>