fix(risk_history):修复历史风险页面的保存按钮逻辑- 在点击 ping 按钮时清除错误消息-修复了评论文本框和保存按钮的禁用逻辑

This commit is contained in:
陈昱达
2025-08-06 17:15:52 +08:00
parent cf7d37ccbd
commit 961699b97c

View File

@@ -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'
}
};