js返回的字符串中添加空格

labelFormatter: function() {
       return `${this.name}\xa0\xa0\xa0${this.y}%`;
}

使用“\xa0”

posted @ 2020-09-01 11:30  上官兰雨  阅读(1943)  评论(0)    收藏  举报