Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

monorepo / venus

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 1
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • venus
  • packages
  • effects
  • plugins
  • src
  • echarts
  • echarts-ui.vue
  • Vben's avatar
    refactor: package chart-ui integrated into plugins (#4238) · 8a0b1e0c ...
    * refactor: package chart-ui integrated into plugins
    
    * fix: lint error
    Vben committed Aug 26, 2024
    8a0b1e0c
echarts-ui.vue 251 Bytes
RawBlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
<script setup lang="ts">
interface Props {
  height?: string;
  width?: string;
}

withDefaults(defineProps<Props>(), {
  height: '300px',
  width: '100%',
});
</script>

<template>
  <div v-bind="$attrs" :style="{ height, width }"></div>
</template>