* Delete btn when has not priv.

This commit is contained in:
sunguangming
2024-05-17 09:03:59 +08:00
parent 883b5ebf12
commit 5fb6124f4d
+1 -4
View File
@@ -16,10 +16,7 @@ window.onRenderCell = function(result, {row, col})
}
else
{
result[0].props.items[0]['disabled'] = true;
delete result[0].props.items[0]['data-toggle'];
delete result[0].props.items[0]['url'];
delete result[0].props.items[0]['href'];
delete result[0].props.items[0];
}
}
if(result && col.name == 'title')