From f316bd2d97efb54ef48fde17b4e38fba2fc7b1aa Mon Sep 17 00:00:00 2001 From: Tomas <tomasysh@gmail.com> Date: 星期四, 11 一月 2024 17:17:01 +0800 Subject: [PATCH] project: remove lodash library --- PAMapp/components/singleSelectBtn.vue | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/PAMapp/components/singleSelectBtn.vue b/PAMapp/components/singleSelectBtn.vue index b7a4a55..8fbcd3b 100644 --- a/PAMapp/components/singleSelectBtn.vue +++ b/PAMapp/components/singleSelectBtn.vue @@ -21,7 +21,6 @@ <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 { @@ -35,7 +34,7 @@ ////////////////////////////////////////////////////////////////////// patchValue(value: string | number): void { // 銝餉�圾瘙箸����甈∟��嚗暺������ - this.syncSingleSelected = _.isEqual(this.syncSingleSelected, value) ? "" : value; + this.syncSingleSelected = this.syncSingleSelected === value ? "" : value; } } </script> -- Gitblit v1.8.0