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/BackActionBar.vue |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/PAMapp/components/BackActionBar.vue b/PAMapp/components/BackActionBar.vue
index 9623972..c6c5ef7 100644
--- a/PAMapp/components/BackActionBar.vue
+++ b/PAMapp/components/BackActionBar.vue
@@ -11,7 +11,6 @@
 import { namespace } from 'nuxt-property-decorator';
 import { Vue, Component,} from 'vue-property-decorator';
 
-import * as _ from 'lodash';
 import { Role } from '~/shared/models/enum/Role';
 
 const appointmentStore = namespace('appointment.store');
@@ -54,7 +53,7 @@
           break;
         case 'agentInfo':
           const agentFeatureLabel = this.$route.name.includes('edit') ? '蝺刻摩撣唾����' : '���董�����';
-          featureLabel = _.isEqual(this.currentRole,Role.ADMIN)
+          featureLabel = this.currentRole === Role.ADMIN
                   ? agentFeatureLabel
                   : '璆剖�鞈��'
           break;

--
Gitblit v1.8.0