From 8f545c22e66f7359b3f7eab1c4ef5adb6fbbbfe9 Mon Sep 17 00:00:00 2001 From: Tomas <tomasysh@gmail.com> Date: 星期一, 31 七月 2023 16:03:25 +0800 Subject: [PATCH] Update: 依據網址參數顯示更新廣告影片 --- 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