🐞 fix: 修复滚动问题

This commit is contained in:
alger
2024-12-08 21:57:34 +08:00
parent 17795e5da2
commit f24263b416
+5 -1
View File
@@ -1,4 +1,5 @@
<template>
<n-scrollbar>
<div class="set-page">
<div v-if="isElectron" class="set-item">
<div>
@@ -54,7 +55,9 @@
<div class="set-action">
<n-button class="w-40 h-10" @click="handelCancel">取消</n-button>
<n-button type="primary" class="w-40 h-10" @click="handleSave">{{ isElectron ? '保存并重启' : '保存' }}</n-button>
<n-button type="primary" class="w-40 h-10" @click="handleSave">{{
isElectron ? '保存并重启' : '保存'
}}</n-button>
</div>
<div class="p-6 bg-black rounded-lg shadow-lg mt-20">
@@ -71,6 +74,7 @@
</div>
</div>
</div>
</n-scrollbar>
</template>
<script setup lang="ts">