Xiao_123 3 mesiacov pred
rodič
commit
0126811250

+ 3 - 0
components.d.ts

@@ -75,4 +75,7 @@ declare module 'vue' {
     VerifySlide: typeof import('./src/components/Verifition/Verify/VerifySlide.vue')['default']
     WangEditor: typeof import('./src/components/FormUI/wangEditor/index.vue')['default']
   }
+  export interface ComponentCustomProperties {
+    vLoading: typeof import('element-plus/es')['ElLoadingDirective']
+  }
 }

+ 2 - 2
src/views/recruit/personal/components/buttons.vue

@@ -1,6 +1,6 @@
 <template>
-  <v-tabs v-model="tab" align-tabs="start" color="primary" @update:modelValue="handleUpdate" bg-color="#f7f8fa">
-    <v-tab v-for="k in tagList" :key="k.value" :value="k.value">{{ k.title }}</v-tab>
+  <v-tabs v-model="tab" align-tabs="start" color="primary" bg-color="#f7f8fa">
+    <v-tab v-for="(k, i) in tagList" :key="k.value" :value="k.value" @click="handleUpdate(i)">{{ k.title }}</v-tab>
   </v-tabs>
 </template>