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/pages/myAppointmentList.vue | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/PAMapp/pages/myAppointmentList.vue b/PAMapp/pages/myAppointmentList.vue index 646cede..aa776da 100644 --- a/PAMapp/pages/myAppointmentList.vue +++ b/PAMapp/pages/myAppointmentList.vue @@ -64,8 +64,6 @@ <script lang="ts"> import { Vue, Component, Watch, namespace } from 'nuxt-property-decorator'; -import * as _ from 'lodash'; - import appointmentService from '~/shared/services/appointment.service'; import { Appointment } from '~/shared/models/appointment.model'; import { ContactStatus } from '~/shared/models/enum/contact-status'; @@ -183,8 +181,8 @@ // format to {page}-banner or pam-no-banner tag private routeFormatBannerClass(route: string): string { - const needBannerTags = ['myAppointmentList-appointmentList', 'myAppointmentList-closedList']; - return _.includes(needBannerTags, route) ? route + '-banner' : 'pam-no-banner'; + const needBannerTags = ['myAppointmentList-appointmentList', 'myAppointmentList-closedList']; + return needBannerTags.includes(route) ? route + '-banner' : 'pam-no-banner'; }; } </script> -- Gitblit v1.8.0