<template>
  <div>
    <p>选中值：{{select}} <button class="h-btn h-btn-text" @click="update">修改值</button></p>
    <div v-width="300"><Select v-model="select" :datas="param"  type="object"></Select></div>
  </div>
</template>
<script>
  export default {
    data() {
      return {
        select: null,
        param: [{ title: '选择1', key: 'a1', other: '其他值' }, { title: '选择2', key: 'a2' }, { title: '选择3', key: 'a3' }]
      }
    },
    methods: {
      update() {
        this.select = { title: '选择1', key: 'a1', other: '其他值' };
      }
    }
  }
</script>
