保誠-保戶業務員媒合平台
Tomas
2021-12-28 a1cb31695b2ace129f33389d002ffe7c5125649d
PAMapp/components/singleSelectBtn.vue
@@ -20,7 +20,7 @@
<script lang="ts">
  import { Component, Prop, PropSync, Vue } from "nuxt-property-decorator";
  import { OptionBtnDto } from "~/shared/models/optionBtnDto.model";
  import * as _ from 'lodash';
  @Component
@@ -37,10 +37,5 @@
      // 主要解決按鈕點擊兩次能回到,未點選的狀態
      this.syncSingleSelected = _.isEqual(this.syncSingleSelected, value) ? "" : value;
    }
  }
  export interface OptionBtnDto {
    title    : string,
    subTitle?: string,
    label    : string | number,
  }
</script>