mirror of https://gitee.com/y_project/RuoYi.git
修改select2选择数量限制提示语
parent
5346af9ab0
commit
fe8c142cd6
|
@ -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
|
||||
});
|
||||
})
|
||||
|
|
|
@ -8,7 +8,6 @@ import org.apache.shiro.web.session.mgt.WebSessionContext;
|
|||
import org.springframework.stereotype.Component;
|
||||
import com.ruoyi.common.utils.IpUtils;
|
||||
import com.ruoyi.common.utils.ServletUtils;
|
||||
|
||||
import eu.bitwalker.useragentutils.UserAgent;
|
||||
|
||||
/**
|
||||
|
|
|
@ -7,7 +7,6 @@ import org.apache.shiro.session.Session;
|
|||
import org.apache.shiro.subject.Subject;
|
||||
import org.apache.shiro.subject.PrincipalCollection;
|
||||
import org.apache.shiro.subject.SimplePrincipalCollection;
|
||||
|
||||
import com.ruoyi.common.utils.StringUtils;
|
||||
import com.ruoyi.common.utils.bean.BeanUtils;
|
||||
import com.ruoyi.framework.shiro.realm.UserRealm;
|
||||
|
|
Loading…
Reference in New Issue