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

diff --git a/PAMapp/components/careerSelect.vue b/PAMapp/components/careerSelect.vue
index 3a0f848..30bf3d1 100644
--- a/PAMapp/components/careerSelect.vue
+++ b/PAMapp/components/careerSelect.vue
@@ -41,7 +41,6 @@
 
 <script lang="ts">
   import { Component , PropSync , Vue} from "vue-property-decorator";
-  import * as _ from 'lodash';
 
   @Component
   export default class CareerSelect extends Vue {
@@ -83,7 +82,7 @@
 
     patchInitValue(): void{
       if(this.syncCareerSelect){
-        if(_.includes(['憭','��'],this.syncCareerSelect)){
+        if (['憭','��'].includes(this.syncCareerSelect)) {
           this.career = this.syncCareerSelect;
         }else{
           this.career = '�隞�';
@@ -95,8 +94,8 @@
     patchCareer(): void {
       this.showJobDrawer = false;
       this.syncCareerSelect = this.career === '�隞�'
-                          ? _.cloneDeep(this.career_Other)
-                          : _.cloneDeep(this.career);
+                          ? JSON.parse(JSON.stringify(this.career_Other))
+                          : JSON.parse(JSON.stringify(this.career));
     }
 
     get isCareerValid(): boolean {

--
Gitblit v1.8.0