Mini Program's tabBar font automatically shrinks and does not center vertically.

self-study Mini Program, just getting started, after setting tabBar, I found that the font automatically became smaller, which would not be the case before. The code and display effect are as follows:

"tabBar": {
    "color": "black",
    "backgroundColor": "-sharpabc",
    "list": [{
      "pagePath": "pages/index/index",
      "text": ""
    }, {
      "pagePath": "pages/test/test",
      "text": ""
    }]
}

display effect:

if you debug on the phone, the following tabBar text can"t be seen at all. I don"t know what"s going on


it is recommended to re-create a new project Mini Program tabbar font size is set

Menu