如何使变量在路径内可读?
// First markLine
const markLineAhorro = {
data: [
{
type: 'max',
label: {
position: 'middle',
formatter: params => {
return `Sólo tienes que invertir: ${params.value.format()} €`
}
},
lineStyle: {
color: '#212529'
}
},
]
}
// Second markLine (the one on the top)
const markLineRentabilidad = {
data: [
{
type: 'max',
label: {
position: 'middle',
formatter: params => {
return `Con tu inversión obtienes: ${params.value.format()} €`
}
},
lineStyle: {
color: '#212529'
}
}
]
}
解决了,非常感谢
解决方案:
$country = 'en_PH';
$faker->addProvider(new Faker\Provider\$country\Address($faker));