Files
2026-01-22 21:15:02 +08:00

24 lines
424 B
Plaintext

<template>
<view class="wrap" :style="{ height: height + 'px' }">
<EChartsView :option="option" />
</view>
</template>
<script lang="uts">
import EChartsView from '@/uni_modules/charts/EChartsView.vue'
export default {
components: { EChartsView },
props: {
option: { type: Object, default: () => ({}) },
height: { type: Number, default: 280 }
}
}
</script>
<style>
.wrap {
width: 100%;
}
</style>