feat: add config component

This commit is contained in:
Qiuxia Fan
2021-12-28 17:47:32 +08:00
parent c9eab02431
commit 497ce32a37
5 changed files with 74 additions and 19 deletions

View File

@@ -130,7 +130,7 @@ function changeService(val: { value: string; label: string }) {
.label {
font-size: 12px;
display: inline-block;
padding: 4px;
padding: 4px 2px;
border: var(--el-input-border, var(--el-border-base));
border-right: none;
border-radius: 2px;

View File

@@ -15,7 +15,7 @@ limitations under the License. -->
<template>
<div class="widget">
<div class="header flex-h">
<div>title</div>
<div>Title</div>
<div class="operations">
<Icon
class="mr-5"
@@ -26,7 +26,7 @@ limitations under the License. -->
<Icon size="sm" iconName="clearclose" @click="removeWidget" />
</div>
</div>
<div class="body">chart</div>
<div class="body">No Data</div>
</div>
</template>
<script lang="ts" setup>