Logo white

other / mew-iview

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • mew-iview
  • examples
  • routers
  • color-picker.vue
  • ColorPicker add editable prop
    0fdbb26b
    梁灏 authored
    2018-08-24 16:39:51 +0800  
    Browse Code »
color-picker.vue 360 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
<template>
    <div style="margin: 100px;">
        {{ color1 }}
        <ColorPicker v-model="color1" />
        <ColorPicker v-model="color2" :editable="false"/>
    </div>
</template>
<script>
    export default {
        data () {
            return {
                color1: '#19be6b',
                color2: ''
            };
        }
    };
</script>