* Adjust dtable form cache error.

This commit is contained in:
caoyanyi
2023-11-21 15:06:33 +08:00
parent 3b7a8c25f4
commit fecc75509f
3 changed files with 33 additions and 0 deletions
+11
View File
@@ -36,3 +36,14 @@ window.bindUser = function(e)
data: postData
});
}
window.afterPageUpdate = function($target, info)
{
if(info.name === 'dtable')
{
const dtable = zui.DTable.query('#table-gitlab-binduser');
/* Clear saved formData. */
if(dtable) dtable.$.resetFormData();
}
};