装饰器如何装饰带参数的函数 def a(n): print(1) def inner(b="1"): n(b) # print(b) return inner@adef foo(b): print("foo")foo()当