save
This commit is contained in:
@@ -124,6 +124,9 @@ defineExpose({scrollBottom})
|
||||
<div class="translate-name"> {{ ` ${item.titleTranslate}` }}</div>
|
||||
</div>
|
||||
<div class="right">
|
||||
<BaseIcon
|
||||
@click="delItem(item)"
|
||||
title="删除" icon="ph:star"/>
|
||||
<BaseIcon
|
||||
@click="delItem(item)"
|
||||
title="删除" icon="fluent:delete-24-regular"/>
|
||||
@@ -131,8 +134,7 @@ defineExpose({scrollBottom})
|
||||
@mousedown="draggable = true"
|
||||
@mouseup="draggable = false"
|
||||
>
|
||||
<BaseIcon
|
||||
icon="carbon:move"/>
|
||||
<BaseIcon icon="carbon:move"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -13,6 +13,7 @@ let focus = $ref(false)
|
||||
let inputEl = $ref<HTMLDivElement>()
|
||||
|
||||
useWindowClick((e: PointerEvent) => {
|
||||
if (!e)return
|
||||
focus = inputEl.contains(e.target as any);
|
||||
})
|
||||
|
||||
|
||||
@@ -19,6 +19,7 @@ useWindowClick(() => show = false)
|
||||
useWatchAllSound()
|
||||
|
||||
function toggle() {
|
||||
console.log('e')
|
||||
if (!show) emitter.emit(EventKey.closeOther)
|
||||
show = !show
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user