Browse Source

提示先绑定打印机

sunChengjie 11 months ago
parent
commit
e330a0049e
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/pages/express.vue

+ 4 - 0
src/pages/express.vue

@@ -428,6 +428,10 @@ export default {
 			}
 
 			const getPrinters = await getListOfPrinters({})
+			if (getPrinters.data.length == []) {
+				// return this.shipServe()
+				return Toast('请先绑定打印机')
+			}
 			if (getPrinters.code == 0) {
 				// const qwe = {
 				// 	IMEI: "8672970676795912",