소스 검색

签到调整

xiabx 5 년 전
부모
커밋
72f7e42fa1
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/components/sign/index.ux

+ 2 - 1
src/components/sign/index.ux

@@ -40,10 +40,11 @@ export default {
 	async sign() {
 		let res = await userSign();
 		this.signData = res;
-		this.signList.forEach(item => {
+		this.signList.forEach((item,index) => {
 			if (item.day <= res.days) {
         item.iconType = 'checked';
       }
+      item.fee = res.day_list[index];
     });
    
 	},