shish %!s(int64=2) %!d(string=hai) anos
pai
achega
27702a6739
Modificáronse 1 ficheiros con 3 adicións e 4 borrados
  1. 3 4
      ghsApp/src/pagesStorehouse/inventory/select2.vue

+ 3 - 4
ghsApp/src/pagesStorehouse/inventory/select2.vue

@@ -16,8 +16,8 @@
 			</view>
 			</view>
 		</view>
 		</view>
 		<view class="scroll-middle_bx">
 		<view class="scroll-middle_bx">
-			<scroll-view scroll-y scroll-with-animation class="tab-view" :scroll-top="scrollTop">
-				<div v-for="(item, index) in globalClassData" :key="index" class="tab-bar-item" :class="[classIndex == index ? 'active' : '']" :data-current="index" @tap.stop="globalSwitchClass(index,item)" >
+			<scroll-view scroll-y scroll-with-animation class="tab-view">
+				<div v-for="(item, index) in globalClassData" :key="index" class="tab-bar-item" :class="[globalClassIndex == index ? 'active' : '']" :data-current="index" @tap.stop="globalSwitchClass(index,item)" >
 					<text>{{ item.name || "" }}</text>
 					<text>{{ item.name || "" }}</text>
 				</div>
 				</div>
 				<view style="height: 120upx"></view>
 				<view style="height: 120upx"></view>
@@ -189,8 +189,7 @@ export default {
 			} else {
 			} else {
 				this.tabIndex = e.index;
 				this.tabIndex = e.index;
 			}
 			}
-		},
-		scrollTop() {}
+		}
 	}
 	}
 };
 };
 </script>
 </script>