2
有个金额数据加千分位是应该前端处理还是后端处理好?
source link: https://www.v2ex.com/t/870578
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
今天开发遇到一个场景,前端页面里涉及金额的字段要增加千分位逗号,数据要做下处理,
我的疑问是,这个处理应该前端来做还是后端来做?
宝子们给点意见
先说下我自己的看法,我是前端的,所以我偏向前端只做交互和渲染,不做数据处理,应该后端处理数据, 你们怎么看?
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK