feat: use common-ui ContentWrap
This commit is contained in:
@@ -5,6 +5,7 @@ import type { BpmModelApi } from '#/api/bpm/model';
|
||||
|
||||
import { inject, onBeforeUnmount, provide, ref, shallowRef, watch } from 'vue';
|
||||
|
||||
import { ContentWrap } from '@vben/common-ui';
|
||||
import { BpmModelFormType } from '@vben/constants';
|
||||
|
||||
import { message } from 'ant-design-vue';
|
||||
@@ -18,7 +19,6 @@ import {
|
||||
import CustomContentPadProvider from '#/components/bpmn-process-designer/package/designer/plugins/content-pad';
|
||||
// 自定义左侧菜单(修改 默认任务 为 用户任务)
|
||||
import CustomPaletteProvider from '#/components/bpmn-process-designer/package/designer/plugins/palette';
|
||||
import { ContentWrap } from '#/components/content-wrap';
|
||||
|
||||
defineOptions({ name: 'BpmModelEditor' });
|
||||
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
<script setup lang="ts">
|
||||
import { ref } from 'vue';
|
||||
|
||||
import ContentWrap from '#/components/content-wrap/content-wrap.vue';
|
||||
import { ContentWrap } from '@vben/common-ui';
|
||||
|
||||
import { SimpleProcessDesigner } from '#/components/simple-process-design';
|
||||
|
||||
defineOptions({ name: 'SimpleModelDesign' });
|
||||
@@ -30,7 +31,7 @@ async function validateConfig() {
|
||||
defineExpose({ validateConfig });
|
||||
</script>
|
||||
<template>
|
||||
<ContentWrap :body-style="{ padding: '20px 16px' }">
|
||||
<ContentWrap class="px-4 py-5">
|
||||
<SimpleProcessDesigner
|
||||
:model-form-id="modelFormId"
|
||||
:model-name="modelName"
|
||||
|
||||
Reference in New Issue
Block a user