修改select2选择数量限制提示语
This commit is contained in:
@ -4614,7 +4614,7 @@ S2.define('select2/i18n/en',[],function () {
|
||||
return '载入更多结果…';
|
||||
},
|
||||
maximumSelected: function (args) {
|
||||
var message = '最多只能选择' + args.maximum + '个项目';
|
||||
var message = '最多只能' + args.maximum + '个选项';
|
||||
|
||||
if (args.maximum != 1) {
|
||||
message += 's';
|
||||
|
File diff suppressed because one or more lines are too long
@ -248,7 +248,7 @@
|
||||
|
||||
$(function() {
|
||||
$('#post').select2({
|
||||
placeholder:"请选择岗位",
|
||||
placeholder: "请选择岗位",
|
||||
allowClear: true
|
||||
});
|
||||
})
|
||||
|
@ -219,7 +219,7 @@
|
||||
|
||||
$(function() {
|
||||
$('#post').select2({
|
||||
placeholder:"请选择岗位",
|
||||
placeholder: "请选择岗位",
|
||||
allowClear: true
|
||||
});
|
||||
})
|
||||
|
Reference in New Issue
Block a user