Browse Source

fix 修改 bug

ylong 2 months ago
parent
commit
35282fbd4e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      components/pageScroll/index.vue

+ 2 - 2
components/pageScroll/index.vue

@@ -10,7 +10,8 @@
         :style="{ height: height }"
     >
         <!-- 空状态 -->
-
+        <slot></slot>
+		
         <view v-if="!loading && !dataList.length" class="empty-state">
             <view class="flex-d flex-a-c" style="padding-top: 25vh" v-if="slotEmpty">
                 <image src="https://shuhi.oss-cn-qingdao.aliyuncs.com/mini/no-data.png" style="width: 100%; height: 260rpx" mode="heightFix"></image>
@@ -20,7 +21,6 @@
             <u-empty v-else mode="list" text="暂无扫描记录" margin-top="200"></u-empty>
         </view>
 
-        <slot></slot>
 
         <!-- 加载更多 -->
         <view class="load-more" v-if="dataList.length > 0">