Преглед изворни кода

【feat】【第一版开发】

1.修复任务个数显示异常
2.移除无效代码
3.修改uat环境配置
ChenYL пре 1 година
родитељ
комит
9220c8377e
2 измењених фајлова са 2 додато и 3 уклоњено
  1. 1 1
      package.json
  2. 1 2
      pages/index/index.vue

+ 1 - 1
package.json

@@ -27,7 +27,7 @@
 				"title": "微信小程序 uat-测试环境",
 				"env": {
 					"UNI_PLATFORM": "mp-weixin",
-					"BASE_API_URL": "https://api-punchsettle.zhixinghe1.top"
+					"BASE_API_URL": "https://api-punchsettle.20261001.xyz"
 				}
 			}
 		}

+ 1 - 2
pages/index/index.vue

@@ -36,7 +36,7 @@
 			</view>
 			<view class="task-container">
 				<view class="task-header">
-					<view class="task-title" v-if="punchIns.length && punchIns.length > 0">任务({{punchIns.lengt}}个)
+					<view class="task-title" v-if="punchIns.length && punchIns.length > 0">任务({{punchIns.length}}个)
 					</view>
 					<view class="task-title" v-else>任务</view>
 					<view class="task-add-btn" @click="goPunchInDetailPage">
@@ -226,7 +226,6 @@
 	});
 
 	onShow(() => {
-		console.log("onSHow");
 		userInfo.value = uni.getStorageSync("userInfo");
 		loadData();
 	});