* gitlab: fix formData not clean after switch feature tab.

This commit is contained in:
sunhao
2023-11-17 23:00:38 +08:00
parent 4ee13a8a71
commit b1ec59fe6f
+11
View File
@@ -36,3 +36,14 @@ window.bindUser = function(e)
data: postData
});
}
window.onPageRender = function(info)
{
if(info.name === 'dtable')
{
const dtable = zui.DTable.query('#table-gitlab-binduser');
/* Clear saved formData. */
if(dtable) dtable.$.data.formData = {};
}
};