小编Jim*_*iya的帖子

Chrome中的Roboto字体问题

我在使用Roboto字体系列的chrome中遇到了问题.
这工作得很好,在Firefox,但铬是不是给字母间距之间FL,你可以在图片中看到.


在铬: 在此输入图像描述


在Firefox中: 在此输入图像描述

css firefox fonts google-chrome roboto

3
推荐指数
1
解决办法
906
查看次数

How to turn nested objects into array?

I am struggling to what seems to be a trivial task. I need to iterate over this nested object...

[
     {
          "id": "1",
          "name": "Level 1",
          "parent": null,
          "expanded": true,
          "title": "Level 1",
          "children": [
               {
                    "id": "2",
                    "name": "Level 2",
                    "parent": 1,
                    "expanded": true,
                    "title": "Level 2",
                    "children": [
                         {
                              "id": "3",
                              "name": "Level 3",
                              "parent": 2,
                              "expanded": true,
                              "title": "Level 3"
                         }
                    ]
               }
          ]
     }
]
Run Code Online (Sandbox Code Playgroud)

... and end up with below structure.

I have tried .map(Object.values) …

javascript

2
推荐指数
1
解决办法
93
查看次数

标签 统计

css ×1

firefox ×1

fonts ×1

google-chrome ×1

javascript ×1

roboto ×1