🔧 feat: 更新依赖版本 修复类型错误 优化首页推荐样式

This commit is contained in:
alger
2025-03-20 01:07:39 +08:00
parent e355341596
commit 650e4ff786
17 changed files with 196 additions and 538 deletions
+3 -7
View File
@@ -17,7 +17,7 @@
<div class="button" @click="minimize">
<i class="iconfont icon-minisize"></i>
</div>
<div class="button" @click="close">
<div class="button" @click="handleClose">
<i class="iconfont icon-close"></i>
</div>
</template>
@@ -27,7 +27,7 @@
<n-modal
v-model:show="showCloseModal"
preset="dialog"
title="关闭应用"
:title="t('comp.titleBar.closeApp')"
:style="{ width: '400px' }"
:mask-closable="true"
>
@@ -80,7 +80,7 @@ const minimize = () => {
const handleAction = (action: 'minimize' | 'close') => {
if (rememberChoice.value) {
settingsStore.setSettings({
settingsStore.setSetData({
...settingsStore.setData,
closeAction: action
});
@@ -112,10 +112,6 @@ const drag = (event: MouseEvent) => {
}
window.api.dragStart(event as unknown as string);
};
const handleThemeChange = () => {
settingsStore.toggleTheme();
};
</script>
<style scoped lang="scss">