fix(frontend): support drop function without arguments
#9561
+74
−16
drop function without arguments
#9561