瀏覽代碼

Merge branch 'dev2.8' of http://192.168.3.207:10080/qmx/jy into dev2.8

zhangxinlei1996 5 年之前
父節點
當前提交
32042662b8
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/web/templates/weixin/dataExport/dataExport_previewData.html

+ 2 - 2
src/web/templates/weixin/dataExport/dataExport_previewData.html

@@ -162,13 +162,13 @@
 				$(".buttons-tab .tab-link").each(function() {
 				$(".buttons-tab .tab-link").each(function() {
 					var index = $(this).index();
 					var index = $(this).index();
 					$(".buttons-tab .tab-link").eq(0).addClass("active");
 					$(".buttons-tab .tab-link").eq(0).addClass("active");
-
 					$(this).click(function() {
 					$(this).click(function() {
 						loading(true);
 						loading(true);
 						tab(parseInt(index)+1);
 						tab(parseInt(index)+1);
 						$(this).addClass("active").siblings().removeClass("active");
 						$(this).addClass("active").siblings().removeClass("active");
 					})
 					})
-				})
+				});
+				$(".buttons-tab .tab-link").eq((parseInt({{.T.dataType}})-parseInt(1))).addClass("active").siblings().removeClass("active");
 			})
 			})
 			//
 			//
 			function tab(t){
 			function tab(t){