Browse Source

默认初始化select2

shuzheng 9 years ago
parent
commit
7126c8f565
1 changed files with 2 additions and 0 deletions
  1. 2 0
      zheng-ui/src/js/common.js

+ 2 - 0
zheng-ui/src/js/common.js

@@ -15,6 +15,8 @@ $(function() {
 			$(this).parent().find('label').removeClass('active');
 			$(this).parent().find('label').removeClass('active');
 		}
 		}
 	});
 	});
+	// select2初始化
+	$('select').select2();
 });
 });
 // 动态高度
 // 动态高度
 function getHeight() {
 function getHeight() {