张卓
2022-09-20 5aead44ba1be31db948dfd8362c2bfcbedbbce29
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<template>
<a-layout class="antd-form-editor">
    <a-layout-sider>
        <editor-widget></editor-widget>
    </a-layout-sider>
    <a-layout>
        <a-layout-header style="height:48px"></a-layout-header>
        <a-layout-content>Content</a-layout-content>
    </a-layout>
    <a-layout-sider>
        <editor-property></editor-property>
    </a-layout-sider>
</a-layout>
 
</template>
 
<style lang="less">
.antd-form-editor{
    height:100%;
 
    .ant-layout-sider{
        width:200px;
        background-color:#d3d3d3;
    }
 
    .ant-layout-header{
        background-color:#d3d3d3;
    }
}
</style>
 
<script lang="tsx">
import {
    Component,
    Prop,
    Vue,
} from 'vue-property-decorator';
import {
    State,
    Mutation,
    namespace,
} from 'vuex-class';
 
 
import EditorWidget from './EditorWidget.vue';
import EditorProperty from './EditorProperty.vue';
 
 
 
@Component({
    components: {
        EditorWidget,
        EditorProperty,
    },
})
export default class AntdFormEditor extends Vue {
 
}
</script>