소스 검색

体质诊断检测表 导出功能

hanchong 1 년 전
부모
커밋
835f92b072
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      subpages/constitutionDiagnosis/constitutionDiagnosis.js

+ 4 - 4
subpages/constitutionDiagnosis/constitutionDiagnosis.js

@@ -562,10 +562,10 @@ Page({
 		const { nickName } = wx.getStorageSync('userInfo');
 		const unionid = wx.getStorageSync('unionid');
 		let exportData = {
-			hotel: this.data.hotel?this.data.hotel:'0',
-			room: this.data.room?this.data.room:'0',
-			userId: nickName?nickName:'0',
-			id2: unionid?unionid:'0',
+			hotel: this.data.hotel,
+			room: this.data.room,
+			userId: nickName,
+			id2: unionid,
 			}
 		if (!that.data.intervalId1) {
 			that.data.intervalId1 = setInterval(() => {