数通智联化工云平台
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.
 
 
 
 
 

52 lines
846 B

<!--
@ 作者: 秦东
@ 时间: 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>