From 09dd262523d5b552e8c334ec43b3e09bb0d40f51 Mon Sep 17 00:00:00 2001 From: Mila <Mila@pollex.com.tw> Date: 星期六, 22 一月 2022 12:10:54 +0800 Subject: [PATCH] Merge branch 'Phase3' of https://192.168.0.10:8443/r/pcalife/PAM into Phase3 --- PAMapp/components/singleSelectBtn.vue | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/PAMapp/components/singleSelectBtn.vue b/PAMapp/components/singleSelectBtn.vue index 7de7b0c..b7a4a55 100644 --- a/PAMapp/components/singleSelectBtn.vue +++ b/PAMapp/components/singleSelectBtn.vue @@ -20,9 +20,12 @@ <script lang="ts"> import { Component, Prop, PropSync, Vue } from "nuxt-property-decorator"; + import { OptionBtnDto } from "~/shared/models/optionBtnDto.model"; import * as _ from 'lodash'; + @Component export default class SingleSelectBtn extends Vue { + @PropSync('singleSelected', { default: '' }) syncSingleSelected!: string | number; @@ -34,10 +37,5 @@ // 銝餉�圾瘙箸����甈∟��嚗暺������ this.syncSingleSelected = _.isEqual(this.syncSingleSelected, value) ? "" : value; } - } - export interface OptionBtnDto { - title: string, - subTitle?: string, - label: string | number, } </script> -- Gitblit v1.8.0