From d157d0892f1ab5517dbe3a08328ccb9c4e446615 Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Sun, 20 Apr 2025 15:39:03 +0800
Subject: [PATCH] 1

---
 layout/vDropdwon.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/layout/vDropdwon.vue b/layout/vDropdwon.vue
index 70f8ca6..b708165 100644
--- a/layout/vDropdwon.vue
+++ b/layout/vDropdwon.vue
@@ -13,7 +13,6 @@
 			<!-- <view class="ul" :style="showIf?'height:'+list.length*30+'px':''"> --> 
 			<view class="ul" :style="'--i:'+list.length" :class="showIf?'show':''">  <!-- 不支持就用上面那种 -->
 				<view class="li p-x-md" :class="text==item.label?'active':''" v-for="(item, index) in list" :key="index" @click="handlerItem(item,index)">
-                    
                     <view class="" v-if="contract==0">
                         {{item.label}}
                     </view>
@@ -71,6 +70,7 @@
 	    }
 	},
     mounted() {
+		this.currents = this.current
         if(this.contract==1&&this.list){
             this.text=this.list[this.current].label
         }else if(this.contract==0&&this.list){

--
Gitblit v1.9.3