We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ccdf725 commit 5d227d8Copy full SHA for 5d227d8
web/src/view/layout/setting/index.vue
@@ -1,5 +1,11 @@
1
<template>
2
- <el-drawer v-model="drawer" title="系统配置" direction="rtl" :size="width">
+ <el-drawer v-model="drawer" title="系统配置" direction="rtl" :size="width" :show-close="false">
3
+ <template #header>
4
+ <div class="flex justify-between items-center">
5
+ <span class="text-lg">系统配置</span>
6
+ <el-button type="primary" @click="saveConfig">保存配置</el-button>
7
+ </div>
8
+ </template>
9
<div class="flex flex-col">
10
<div class="mb-8">
11
<div class="text-gray-800 dark:text-gray-100">默认主题</div>
@@ -116,8 +122,6 @@
116
122
请注意,所有配置请保存到本地文件的
117
123
<el-tag>config.json</el-tag> 文件中,否则刷新页面后会丢失配置
118
124
</el-alert>-->
119
-
120
- <el-button type="primary" class="mt-4" @click="saveConfig">保存配置</el-button>
121
125
</div>
126
</el-drawer>
127
</template>
0 commit comments