integrated resulotion list into FE and BE

This commit is contained in:
ori
2019-06-16 11:39:40 -07:00
parent aed12aafb4
commit b93463b2b8
7 changed files with 85 additions and 9 deletions

View File

@@ -4,13 +4,14 @@
<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="resolutionList"></chselect>
<ch-index-select class="spacing" title="Resolution" Xkey="resolution" :list="resolutionList"></ch-index-select>
</div>
</template>
<script>
import chslider from './ch-slider.vue'
import chselect from './ch-select.vue'
import chIndexSelect from './ch-IndexSelect.vue'
export default {
name: 'InputTab',
data () {
@@ -19,14 +20,15 @@ import chselect from './ch-select.vue'
},
components: {
chslider,
chselect
chselect,
chIndexSelect
},
methods: {
},
computed:{
resolutionList:{
get:function(){
return this.$store.state.resolution;
return this.$store.state.resolutionList;
}
}
}