wangrong
2026-08-30 761e5c5fa871959f60e15c971c8d83f2b53d0af5
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
<script setup lang="ts">
import CommonAttr from '@/custom-component/common/CommonAttr.vue'
import { dvMainStoreWithOut } from '@/store/modules/data-visualization/dvMain'
import { storeToRefs } from 'pinia'
 
const dvMainStore = dvMainStoreWithOut()
const { curComponent } = storeToRefs(dvMainStore)
</script>
 
<template>
  <div class="attr-list">
    <CommonAttr :element="curComponent"></CommonAttr>
    <div class="content">
      <span>{{ $t('visualization.content') }}</span>
      <el-input v-model="curComponent['propValue']" type="textarea" :rows="3" />
    </div>
  </div>
</template>
 
<style lang="less" scoped>
.content {
  width: 100%;
  font-size: 12px;
  padding: 10px;
}
:deep(.ed-textarea__inner) {
  color: #ffffff;
  background-color: #000000;
}
</style>