更新时间:2022-06-13 22:20:26
在此文章我提供了同样的问题。你的解决方案是我所说的易于复杂的解决方案,因为重复。第二个我称之为简单容易应该是你正在寻找的。
In this article I afforded the same issue. You're solution is the one I called "Easy made complex" solution, because of duplication. The second one which I called the "Simple made easy" should be the one you're looking for.