多维图数据设置已完成
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user