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