fix: 编写拖拽信息

This commit is contained in:
MTrun
2022-01-24 21:12:18 +08:00
parent 0fc4d44ba2
commit 953b8c3486
15 changed files with 117 additions and 32 deletions
@@ -0,0 +1,11 @@
import { getUUID } from '@/utils'
export class Config {
name: string = 'BarCommon'
id: string = getUUID()
attr = { w: 500, h: 300 }
// 图表的
public config = {
global: {}
}
}
@@ -0,0 +1,7 @@
<template>
<div>配置项目</div>
</template>
<script setup lang="ts">
</script>
@@ -1,13 +1,16 @@
<template>
<div>
柱状图组件渲染
这里是柱状图组件渲染
</div>
</template>
<script setup lang="ts">
const props = defineProps({
chart: {
type: Object,
require: true
}
})
</script>
<style lang="scss" scoped>
</style>
<style lang="scss" scoped></style>