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