Add the code in Listing 12 to the DELETE case in the index action.
将清单12中的代码添加到index操作中的DELETEcase中。
Here's the code to delete all these groups.
删除主组不会自动删除任何子组,所以必须手工编码来删除子组。
Delete those lines of code and move them up to the top and problem solved.
把这几行代码删除,然后把它们放到,前面去,问题就解决了。
Delete those lines of code and move them up to the top and problem solved.
把这几行代码删除,然后把它们放到,前面去,问题就解决了。
应用推荐