为什么我本地时提示文字的换行符就不识别了echarts 饼配置项内容和展示

为什么我本地时提示文字的换行符就不识别了

配置项如下
      var data = [500,400];
option = {
		    title : {
		        text: '性别',
		        subtext: '',
		        x:'center'
		    },
		    tooltip : {
		        trigger: 'item',
		        formatter: "{b} : {c} ({d}%)"
		    },
		    color:["#7CB4EB","#FC9F85"],
		    toolbox: {
		        show : true,
		        feature : {
		            //dataView : {show: true, readOnly: false},
		            //restore : {show: true},
		            saveAsImage : {show: true}
		        }
		    },
		    legend: {
		        orient: 'horizontal',
		        left: 'center',
		        top:'40',
		        data: ["男","女"]
		    },
		    series : [
		        {
		            name: '',
		            type: 'pie',
		            radius : '70%',
		            center: ['50%', '60%'],
		            label: {
		                normal: {
		                	position: 'inner',
		                	color:'#999',
		                    formatter: '{a|{a}} {b|{b}:} {per|{d}%} \n{hr|}\n {c}',
//		                    formatter:'{a|{a}}{abg|}\n{hr|}\n  {b|{b}:}{c}  {per|{d}%}  ',
		                    // backgroundColor: '#eee',
		                    // borderColor: '#aaa',
		                    // borderWidth: 1,
		                    // borderRadius: 4,
		                    // shadowBlur:3,
		                    // shadowOffsetX: 2,
		                    // shadowOffsetY: 2,
		                    // shadowColor: '#999',
		                    // padding: [0, 7],
		                    rich: {
		                        a: {
		                            color: '#999',
		                            lineHeight: 22,
		                            fontSize:12,
		                            align: 'center'
		                        },
		                        b: {
		                        	color: '#999',
		                            fontSize: 12,
		                            lineHeight: 33
		                        },
		                        per: {
		                            color: '#999',
		                            fontSize:12
		                        }
		                    }
		                }
		            },
		            data:[
		                {value:data[0], name:"男"},
		                {value:data[1], name:"女"},
		            ],
		            itemStyle: {
		                emphasis: {
		                    shadowBlur: 10,
		                    shadowOffsetX: 0,
		                    shadowColor: 'rgba(0, 0, 0, 0.5)'
		                }
		            }
		        }
		    ]
		};
    
截图如下