chore: 更换表单设计器组件

This commit is contained in:
xiaoxian521
2022-11-10 13:00:48 +08:00
parent c19fbb1473
commit c4839aa5f4
5 changed files with 8 additions and 206 deletions

View File

@@ -94,7 +94,7 @@ onMounted(() => {
<div id="LF-Turbo" />
<!-- 数据查看面板 -->
<el-dialog
customClass="flow-dialog"
class="flow-dialog"
title="数据"
v-model="dataVisible"
width="50%"

View File

@@ -1,30 +0,0 @@
<script setup lang="ts">
import { ref, onBeforeMount } from "vue";
import { useLoader } from "@pureadmin/utils";
import { ElDesignForm } from "vue-form-create2";
defineOptions({
name: "FormDesign"
});
const loading = ref(true);
const { loadScript } = useLoader();
onBeforeMount(() => {
loadScript({
src: "https://unpkg.com/ace-builds/src-noconflict/ace.js"
}).then(message => {
if (message === "success") loading.value = false;
});
});
</script>
<template>
<ElDesignForm v-loading="loading" style="height: 100vh" class="design-form" />
</template>
<style lang="scss" scoped>
.main-content {
margin: 0 !important;
}
</style>