added lists to the ui and the store

This commit is contained in:
ori
2019-05-01 19:46:22 +03:00
parent d073f6fcd2
commit 406a9f2021
4 changed files with 32 additions and 8 deletions

View File

@@ -4,7 +4,7 @@
<chslider class="spacing" title="exposure" Xkey="exposure"></chslider>
<chslider class="spacing" title="Brightness" Xkey="brightness"></chslider>
<chselect class="spacing" title="Orientation" Xkey="orientation" :list="['Normal','Inverted']"></chselect>
<chselect class="spacing" title="Resolution" Xkey="resolution" :list="['Normal','Inverted']"></chselect>
<chselect class="spacing" title="Resolution" Xkey="resolution" :list="resolutionList"></chselect>
</div>
</template>
@@ -22,6 +22,13 @@ import chselect from './ch-select.vue'
chselect
},
methods: {
},
computed:{
resolutionList:{
get:function(){
return this.$store.state.resolution;
}
}
}
}
</script>