lilei 2 年 前
コミット
43bb0a49c7
2 ファイル変更4 行追加2 行削除
  1. 3 1
      components/kk-printer/index.vue
  2. 1 1
      pages/shelfSetting/quickReplenish.vue

+ 3 - 1
components/kk-printer/index.vue

@@ -167,7 +167,9 @@
 			}
 		},
 		mounted() {
-			this.handlePrintTap(0)
+			if(this.autoConnect){
+				this.handlePrintTap(0)
+			}
 		},
 		beforeDestroy(){
 			this.stopSearchBtnTap();

+ 1 - 1
pages/shelfSetting/quickReplenish.vue

@@ -13,7 +13,7 @@
 			<view>系统检测到以下产品缺货,请选择需要补货的产品</view>
 		</view>
 		<view class="partlist">
-			<quickProductList :list="partList" ref="productList" noDataText="暂无产品" @allChecked="allCheckedCallback"></quickProductList>
+			<quickProductList ref="productList" noDataText="暂无产品" @allChecked="allCheckedCallback"></quickProductList>
 		</view>
 		<view class="part-footer flex align_item justify_between">
 			<view>