Revert "Add client-side note encryption"

This reverts commit 5cf5a45682.
This commit is contained in:
eezd committed 2026-10-17 14:56:23 +08:00
1 parent 5cf5a45682
commit b26c5aa693
20 files changed
+39 -899

No files matched your search

+1 -2
View File
@@ -1,6 +1,6 @@
<script setup lang="ts">
import Icon from './Icon.vue'
import { isEncrypted, noteTitle } from './paths'
import { noteTitle } from './paths'
import { closeTab, ws } from './workspace'
</script>
@@ -17,7 +17,6 @@ import { closeTab, ws } from './workspace'
@click="ws.active = tab.path"
@auxclick.prevent="$event.button === 1 && closeTab(tab.path)"
>
<Icon v-if="isEncrypted(tab.path)" name="lock" :size="12" class="rm-lock-icon" />
<span class="rm-tab-title">{{ noteTitle(tab.path) }}</span>
<button class="rm-tab-close" :class="{ dirty: tab.dirty }" title="关闭" @click.stop="closeTab(tab.path)">
<span class="rm-dirty-dot" />