<template>
  <div>
    <div class="q-pa-sm">
      <q-btn dense @click="showonly=!showonly" label="只读" :outline="!showonly" color="primary" />
    </div>
    <q-separator />
    <kyb-boolean v-model="v" :showonly="showonly" />
    value: {{v}}
  </div>
</template>
<script>
export default {
  props: {},
  data() {
    return { v: false, showonly: false }
  }
}
</script>
