Browse Source

修改农历

achao 1 year ago
parent
commit
18773c377e
1 changed files with 4 additions and 4 deletions
  1. 4 4
      uni_applet/pageA/cxTable.vue

+ 4 - 4
uni_applet/pageA/cxTable.vue

@@ -161,12 +161,12 @@
 			this.getLunar()
 		},
 		methods: {
-			setRowColor(){
-				for(let i = 1;i<this.tableList.length;i++){
-					this.tableList[i].false
+			setRowColor(){debugger
+				for(let i = 0;i<this.tableList.length;i++){
+					this.tableList[i].check=false
 					let _array = this.tableList[i].name.split("/")
 					if(this.day==_array[0]||this.day==_array[1]){
-						this.tableList[i+1].check = true
+						this.tableList[i].check = true
 					}
 				}
 			},