修改select2选择数量限制提示语

dep_wangsr
RuoYi 5 years ago committed by Limy
parent 143456a779
commit e954a5f7a3

@ -4614,7 +4614,7 @@ S2.define('select2/i18n/en',[],function () {
return '载入更多结果…'; return '载入更多结果…';
}, },
maximumSelected: function (args) { maximumSelected: function (args) {
var message = '最多只能选择' + args.maximum + '个'; var message = '最多只能' + args.maximum + '个项';
if (args.maximum != 1) { if (args.maximum != 1) {
message += 's'; message += 's';

File diff suppressed because one or more lines are too long

@ -8,7 +8,6 @@ import org.apache.shiro.web.session.mgt.WebSessionContext;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import com.ruoyi.common.utils.IpUtils; import com.ruoyi.common.utils.IpUtils;
import com.ruoyi.common.utils.ServletUtils; import com.ruoyi.common.utils.ServletUtils;
import eu.bitwalker.useragentutils.UserAgent; 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.Subject;
import org.apache.shiro.subject.PrincipalCollection; import org.apache.shiro.subject.PrincipalCollection;
import org.apache.shiro.subject.SimplePrincipalCollection; import org.apache.shiro.subject.SimplePrincipalCollection;
import com.ruoyi.common.utils.StringUtils; import com.ruoyi.common.utils.StringUtils;
import com.ruoyi.common.utils.bean.BeanUtils; import com.ruoyi.common.utils.bean.BeanUtils;
import com.ruoyi.framework.shiro.realm.UserRealm; import com.ruoyi.framework.shiro.realm.UserRealm;

Loading…
Cancel
Save