Procházet zdrojové kódy

:art: 格式化代码

zhanghe před 6 roky
rodič
revize
7337266fc8

+ 1 - 5
src/stage/index/index.html

@@ -53,10 +53,6 @@
 	<script src="../../lib/js/moye.min.js"></script>
 	<script src="../../lib/js/TVUtil.min.js"></script>
 	<script src="../../lib/js/swiper.min.js"></script>
-	<!-- <script src="https://cdn.ravenjs.com/3.23.2/raven.min.js"></script> -->
-	<!-- <script>
-		Raven.config('https://a9383032420e44af813de59554b62c24@sentry.io/304059').install();
-	</script> -->
 	<script>
 		var ts = '201802051925';
 
@@ -66,7 +62,7 @@
 		document.head.appendChild(appCss);
 
 		var appScript = document.createElement('script');
-		appScript.src = './index.js?t=' + ts;
+		appScript.src = './index.min.js?t=' + ts;
 		document.body.appendChild(appScript);
 	</script>
 	<script>

+ 1 - 5
src/stage/index/scene/TerminalScene.js

@@ -51,11 +51,7 @@ class TerminalScene extends scene {
 	loadTerminalBuyRecordList() {
 		APIClient.getValidProductList((isTrue, res) => {
 			if (!isTrue || !res.success) { return; }
-			let tmp = [];
-			for (let i=0; i<6; i++) {
-				tmp = tmp.concat(res.data.recs || []);
-			}
-			this.renderBuyRecordScrollList(tmp);
+			this.renderBuyRecordScrollList(res.data.recs || []);
 		});
 	}