baijs类型转为function