diff --git a/ui/src/components/app-charts/components/BarCharts.vue b/ui/src/components/app-charts/components/BarCharts.vue index 821c9f1a7..3e31ee442 100644 --- a/ui/src/components/app-charts/components/BarCharts.vue +++ b/ui/src/components/app-charts/components/BarCharts.vue @@ -94,6 +94,16 @@ function initChart() { }, }, }, + dataZoom: [ + { + type: 'inside', + show: props.option.dataZoom, + }, + { + type: 'slider', + show: props.option.dataZoom, + }, + ], series: series, } @@ -117,6 +127,7 @@ watch( ) onMounted(() => { + console.log(props.option.dataZoom) nextTick(() => { initChart() window.addEventListener('resize', changeChartSize) diff --git a/ui/src/components/layout-container/index.vue b/ui/src/components/layout-container/index.vue index 8a791b96e..71dab3038 100644 --- a/ui/src/components/layout-container/index.vue +++ b/ui/src/components/layout-container/index.vue @@ -3,6 +3,7 @@
@@ -48,6 +49,10 @@ const props = defineProps({ type: Number, default: 400, }, + showLeft: { + type: Boolean, + default: true, + }, }) const isCollapse = ref(false) diff --git a/ui/src/components/workflow-dropdown-menu/knowledge-inner/index.vue b/ui/src/components/workflow-dropdown-menu/knowledge-inner/index.vue index 53fbd36a3..9a8079734 100644 --- a/ui/src/components/workflow-dropdown-menu/knowledge-inner/index.vue +++ b/ui/src/components/workflow-dropdown-menu/knowledge-inner/index.vue @@ -2,7 +2,7 @@
- +