fix language got reset when reseting statistics
This commit is contained in:
parent
1706e04fbf
commit
3a95257beb
|
@ -545,19 +545,19 @@ function PvEDoudizhuDemoView() {
|
||||||
localStorage.removeItem('GAME_STATISTICS');
|
localStorage.removeItem('GAME_STATISTICS');
|
||||||
setStatisticRows([
|
setStatisticRows([
|
||||||
{
|
{
|
||||||
role: 'Landlord',
|
role: t('doudizhu.landlord'),
|
||||||
win: 0,
|
win: 0,
|
||||||
total: 0,
|
total: 0,
|
||||||
winRate: '-',
|
winRate: '-',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
role: 'Landlord Up',
|
role: t('doudizhu.landlord_up'),
|
||||||
win: 0,
|
win: 0,
|
||||||
total: 0,
|
total: 0,
|
||||||
winRate: '-',
|
winRate: '-',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
role: 'Landlord Down',
|
role: t('doudizhu.landlord_down'),
|
||||||
win: 0,
|
win: 0,
|
||||||
total: 0,
|
total: 0,
|
||||||
winRate: '-',
|
winRate: '-',
|
||||||
|
|
Loading…
Reference in New Issue