Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
水玉婷
ai-wechat
Commits
20c5890a
Commit
20c5890a
authored
Mar 03, 2026
by
水玉婷
Browse files
feat:图标数据小于1条时不展示
parent
8fe357fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/views/components/ChartComponent.vue
View file @
20c5890a
...
...
@@ -2,7 +2,7 @@
<
div class="chart-container">
<
div class="tips" v-if="chartData?.description" v-html="renderedDescription">
</div>
<
div class="chart-main-box">
<
div class="chart-main-box"
v-if="chartData?.rows && chartData.rows.length > 1"
>
<!-- 图表类型选择器 -->
<
div class="chart-controls">
<
div class="chart-type-selector">
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment