mirror of
http://112.124.100.131/ebiz-ai/ebiz-ai-knowledge-manage.git
synced 2025-12-11 20:06:52 +08:00
fix(risk_history):修复历史风险页面的保存按钮逻辑- 在点击 ping 按钮时清除错误消息-修复了评论文本框和保存按钮的禁用逻辑
This commit is contained in:
@@ -1226,6 +1226,10 @@
|
|||||||
var noPadding = Utils.getQueryParam('noPT');
|
var noPadding = Utils.getQueryParam('noPT');
|
||||||
ping.onclick = function() {
|
ping.onclick = function() {
|
||||||
DialogHandler.showDialog();
|
DialogHandler.showDialog();
|
||||||
|
|
||||||
|
var error = document.getElementById('error-msg')
|
||||||
|
error.innerHTML = ''
|
||||||
|
|
||||||
var commentText = document.getElementById('commentText')
|
var commentText = document.getElementById('commentText')
|
||||||
var saveBtn = document.getElementById('saveBtn')
|
var saveBtn = document.getElementById('saveBtn')
|
||||||
|
|
||||||
@@ -1237,8 +1241,8 @@
|
|||||||
saveBtn.style.display = 'none'
|
saveBtn.style.display = 'none'
|
||||||
}
|
}
|
||||||
if(commentText.value){
|
if(commentText.value){
|
||||||
// commentText.setAttribute('disabled',true)
|
commentText.setAttribute('disabled',true)
|
||||||
// saveBtn.style.display = 'none'
|
saveBtn.style.display = 'none'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user