多维图数据设置已完成

This commit is contained in:
aixianling
2023-10-08 11:14:00 +08:00
parent 8aaf56e9e9
commit 8dd48bc16c
6 changed files with 554 additions and 457 deletions

View File

@@ -1,6 +1,6 @@
<template>
<section class="AiDvPlot">
<ai-select class="plotPicker" v-model="current" :select-list="options"/>
<ai-select class="plotPicker" v-model="current" :select-list="charts" @change="handleChangeChart"/>
<div ref="DvPlot"/>
</section>
</template>
@@ -15,7 +15,15 @@ export default {
current: 0
}
},
methods: {},
computed: {
charts: v => v.options.map((e, id) => ({id, label: e.title})),
plot: v => v.options[v.current]
},
methods: {
handleChangeChart() {
}
},
}
</script>
<style scoped lang="scss">