Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我创建了这个例子
删除功能不起作用,我无法弄清楚我做错了什么......
任何和所有的帮助表示赞赏!
这行得通。
简而言之,你错过了一个return声明,你错误地使用了你的变量。
return