mirror of
https://github.com/fugary/simple-element-plus-template.git
synced 2025-12-10 04:47:50 +00:00
全局配置
This commit is contained in:
27
src/views/components/global/GlobalSettings.vue
Normal file
27
src/views/components/global/GlobalSettings.vue
Normal file
@@ -0,0 +1,27 @@
|
||||
<script setup>
|
||||
import {useGlobalConfigStore} from '@/stores/GlobalConfigStore'
|
||||
const globalConfigStore = useGlobalConfigStore()
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<el-drawer v-model="globalConfigStore.isShowSettings" direction="rtl">
|
||||
<template #header>
|
||||
<strong>{{ $t('common.label.settings') }}</strong>
|
||||
</template>
|
||||
<template #default>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
<template #footer>
|
||||
<div style="flex: auto">
|
||||
<el-button type="primary" @click="globalConfigStore.changeShowSettings(false)">{{$t('common.label.close')}}</el-button>
|
||||
</div>
|
||||
</template>
|
||||
</el-drawer>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user