修改配置返回值与页面样式
This commit is contained in:
parent
a2598dfc0b
commit
10479d4469
@ -67,7 +67,7 @@ public class ConfigManager implements ISystemConfigManager {
|
||||
public String getSystemConfigParamsValue(String key) {
|
||||
Map<String, String> systemParams = getSystemConfigParams();
|
||||
if (systemParams == null) {
|
||||
return null;
|
||||
return "";
|
||||
}
|
||||
return systemParams.get(key);
|
||||
}
|
||||
@ -86,7 +86,7 @@ public class ConfigManager implements ISystemConfigManager {
|
||||
public String getAppConfigParamsValue(String key) {
|
||||
Map<String, String> appParams = getAppConfigParams();
|
||||
if (appParams == null) {
|
||||
return null;
|
||||
return "";
|
||||
}
|
||||
return appParams.get(key);
|
||||
}
|
||||
|
@ -264,7 +264,7 @@
|
||||
<div class="layui-form-item">
|
||||
<table class="layui-table">
|
||||
<colgroup>
|
||||
<col width="150">
|
||||
<col width="250">
|
||||
<col>
|
||||
<col width="60">
|
||||
</colgroup>
|
||||
@ -293,7 +293,7 @@
|
||||
<div class="layui-form-item">
|
||||
<table class="layui-table">
|
||||
<colgroup>
|
||||
<col width="150">
|
||||
<col width="250">
|
||||
<col>
|
||||
<col width="60">
|
||||
</colgroup>
|
||||
@ -562,7 +562,7 @@
|
||||
}
|
||||
|
||||
function isKeyEffective(key) {
|
||||
if((/^[a-zA-Z0-9\_]+$/g.test(key))) {
|
||||
if((/^[a-zA-Z0-9\_\-]+$/g.test(key))) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
@ -578,7 +578,7 @@
|
||||
}
|
||||
keyupSetTimeout = setTimeout(function() {
|
||||
if(!isKeyEffective(value)) {
|
||||
top.dialog.msg('参数名只能是字母、数字与下划线组合');
|
||||
top.dialog.msg('参数名只能是字母、数字、下划线与横线组合');
|
||||
self.focus();
|
||||
self.value = '';
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user