فهرست منبع

Merge branch 'dev' of https://git.citupro.com/zhengnaiwen_citu/menduner into dev

Xiao_123 7 ماه پیش
والد
کامیت
ca9d01c945
1فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
  1. 3 2
      src/components/FormUI/nestedListGroup/index.vue

+ 3 - 2
src/components/FormUI/nestedListGroup/index.vue

@@ -28,7 +28,8 @@
       @update:modelValue="modelValueUpDate"
     >
     </v-text-field>
-    <v-menu activator="#menu-activator" :close-on-content-click="item.closeOnContentClick">
+    <!-- close-on-content-click只能false,否则二级无法展开 -->
+    <v-menu activator="#menu-activator" :close-on-content-click="false">
       <listGroup
         :list="item.items"
         :option="option"
@@ -69,7 +70,7 @@ const clickUpdate = (val) => {
   emit('update:modelValue', value.value)
   emit('change', value.value)
 }
-const closeOnContentClick = ref(false) // multiple
+// const closeOnContentClick = ref(false) // multiple
 
 // 回显label
 const chosen = ref(null)