且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

MVC***实践

更新时间:2023-01-05 23:01:44

为了正确地显示 ,它应该进入视图。

If you are modifying information to properly display it, it should go into the view.

我怀疑它应该在模型中,主要是因为如果数据总是被缩短,你可能会把它缩短。

I doubt it should be in the model primarily because if the data was always going to be shortened, you would probably would store it shortened.