You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
834 B
38 lines
834 B
|
2 years ago
|
<!--
|
||
|
|
@ 作者: 秦东
|
||
|
|
@ 时间: 2024-04-18 14:08:56
|
||
|
|
@ 备注: 设置自建应用
|
||
|
|
-->
|
||
|
|
<script lang='ts' setup>
|
||
|
|
const props = defineProps({
|
||
|
|
drawerWith:{
|
||
|
|
type:Number,
|
||
|
|
default:0
|
||
|
|
},
|
||
|
|
formKey:{
|
||
|
|
type:String,
|
||
|
|
default:""
|
||
|
|
}
|
||
|
|
});
|
||
|
|
const drawerOpenOrClose = ref(true)
|
||
|
|
</script>
|
||
|
|
<template>
|
||
|
|
<div class="drawerClass">
|
||
|
|
<el-drawer v-model="drawerOpenOrClose" title="设置/编辑自定义表单" :with-header="false" :close-on-click-modal="false" :close-on-press-escape="false" :destroy-on-close="true" :size="props.drawerWith">
|
||
|
|
<div class="common-layout">
|
||
|
|
<el-container>
|
||
|
|
<el-header>Header</el-header>
|
||
|
|
<el-container>
|
||
|
|
<el-aside width="200px">Aside</el-aside>
|
||
|
|
<el-main>Main</el-main>
|
||
|
|
</el-container>
|
||
|
|
</el-container>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
</el-drawer >
|
||
|
|
</div>
|
||
|
|
</template>
|
||
|
|
<style lang='scss' scoped>
|
||
|
|
|
||
|
|
</style>
|