Commit 00e255fb by zhaochengxiang

needEnc修改

parent af6b759b
...@@ -129,7 +129,7 @@ const UpdateDatasourceModal = (props) => { ...@@ -129,7 +129,7 @@ const UpdateDatasourceModal = (props) => {
if (item.selectMode === null && item.required) { if (item.selectMode === null && item.required) {
item.needEnc = true; item.needEnc = true;
if (action === 'edit') { if (action === 'edit') {
item.needEnc = (item.value!==datasourceRow[item.name]); item.needEnc = false;
} }
} }
...@@ -146,7 +146,7 @@ const UpdateDatasourceModal = (props) => { ...@@ -146,7 +146,7 @@ const UpdateDatasourceModal = (props) => {
if (item.selectMode === null && item.required) { if (item.selectMode === null && item.required) {
item.needEnc = true; item.needEnc = true;
if (action === 'edit') { if (action === 'edit') {
item.needEnc = (item.value!==credentialRow[item.name]); item.needEnc = false;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment