瀏覽代碼

签到调整

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];
     });
    
 	},