瀏覽代碼

修改生成二维码

wangchao 3 年之前
父節點
當前提交
545af5e8f8
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      pages/erpbusiness/sendCommand.vue

+ 3 - 1
pages/erpbusiness/sendCommand.vue

@@ -104,7 +104,9 @@
 		},
 		},
 		onShow() {
 		onShow() {
 			this.gridList = uni.getStorageSync("quality_print")
 			this.gridList = uni.getStorageSync("quality_print")
-			// this.gridList.compId = uni.getStorageSync('pcUserInfo').compId
+			if(!this.gridList.compId){
+				this.gridList.compId = uni.getStorageSync('pcUserInfo').compId
+			}
 			console.log(this.gridList)
 			console.log(this.gridList)
 			let that = this;
 			let that = this;
 			let width;
 			let width;