<!--
@ 作者: 秦东
@ 时间: 2024-03-29 13:52:10
@ 备注: 查看表单列表代码
-->
<script lang='ts' setup>
const props = defineProps({
	isShow:{
		type:Boolean,
		default:false,
	},
	listData:{
		type:Object,
		default(){
			return {}
		}
	}
});
const direction = ref('ltr')
const emits = defineEmits(["update:isShow"]);
const isShowIng =  computed({
	get() {
		return props.isShow
	},
	set(val: formStruct) {
		emits('update:isShow', val)
	}
});

/**
@ 作者: 秦东
@ 时间: 2024-03-27 10:25:54
@ 功能: 关闭弹窗
*/
const closeLogBut = () =>{
	emits('update:isShow', false)
}
</script>
<template>
	<el-drawer
		v-model="isShowIng"
		title="生成脚本预览"
		:direction="direction"
		:before-close="closeLogBut"
	>

		<div v-if="props.listData" :id="id"></div>
	</el-drawer>
</template>
<style  lang='scss' scoped>

</style>
