看https://blog.youkuaiyun.com/wanghantong/article/details/41442759这篇博客中提到了解决方案,我这里还有另一个解决方案,供视图和这个博客不一致的提供方案2