lilei před 2 roky
rodič
revize
b58995f259
1 změnil soubory, kde provedl 13 přidání a 0 odebrání
  1. 13 0
      pages/batchShelves/cartList.vue

+ 13 - 0
pages/batchShelves/cartList.vue

@@ -162,6 +162,19 @@
 				this.chooseModal = true
 			})
 		},
+		onBackPress() {
+			if(this.showLayer || this.showDelLay||this.chooseModal||this.showPrintModal){
+				this.showLayer = false
+				this.showDelLay = false
+				this.chooseModal = false
+				this.showPrintModal = false
+				return true
+			}
+			if(this.showPop){
+				this.showPop = false
+				return true
+			}
+		},
 		onNavigationBarButtonTap(e) {
 			console.log(e)
 			if(this.placeTab.length){