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