feat: add form design (#248)

This commit is contained in:
一万
2022-04-22 10:46:49 +08:00
committed by GitHub
parent acebbd8958
commit bbedcbc96b
9 changed files with 270 additions and 6 deletions

View File

@@ -0,0 +1,25 @@
<script setup lang="ts">
import { ref, onBeforeMount } from "vue";
import { loader } from "/@/utils/loaders";
import { ElDesignForm } from "vue-form-create";
const loading = ref(true);
onBeforeMount(() => {
loader
.loadScript("https://unpkg.com/ace-builds/src-noconflict/ace.js")
.then(() => {
loading.value = false;
});
});
</script>
<template>
<ElDesignForm v-loading="loading" style="height: 100vh" />
</template>
<style lang="scss" scoped>
.main-content {
margin: 0 !important;
}
</style>