From f065760fa7df1f88747395ab4b55349ce8b2faf0 Mon Sep 17 00:00:00 2001
From: Tomas <tomasysh@gmail.com>
Date: 星期一, 25 十二月 2023 13:35:43 +0800
Subject: [PATCH] Update#178944: 移除 lodash 套件

---
 PAMapp/components/singleSelectBtn.vue |   10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/PAMapp/components/singleSelectBtn.vue b/PAMapp/components/singleSelectBtn.vue
index 85e67a1..8fbcd3b 100644
--- a/PAMapp/components/singleSelectBtn.vue
+++ b/PAMapp/components/singleSelectBtn.vue
@@ -20,8 +20,7 @@
 
 <script lang="ts">
   import { Component, Prop, PropSync, Vue } from "nuxt-property-decorator";
-
-  import * as _ from 'lodash';
+  import { OptionBtnDto } from "~/shared/models/optionBtnDto.model";
 
   @Component
   export default class SingleSelectBtn extends Vue {
@@ -35,12 +34,7 @@
     //////////////////////////////////////////////////////////////////////
     patchValue(value: string | number): void {
       // 銝餉�圾瘙箸����甈∟��嚗暺������
-      this.syncSingleSelected = _.isEqual(this.syncSingleSelected, value) ? "" : value;
+      this.syncSingleSelected = this.syncSingleSelected === value ? "" : value;
     }
-  }
-  export interface OptionBtnDto {
-    title    : string,
-    subTitle?: string,
-    label    : string | number,
   }
 </script>

--
Gitblit v1.8.0