Przeglądaj źródła

去掉总用户数的死数字

魏熙美 5 lat temu
rodzic
commit
f65f487c47
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      src/pages/Welcome.jsx

+ 1
- 1
src/pages/Welcome.jsx Wyświetl plik

41
           borderRadius: '12px', width: '32%', marginRight: '2%'
41
           borderRadius: '12px', width: '32%', marginRight: '2%'
42
         }}>
42
         }}>
43
           <span style={{ fontSize: '24px', color: '#fff' }}>总注册用户 </span>
43
           <span style={{ fontSize: '24px', color: '#fff' }}>总注册用户 </span>
44
-          <span style={{ fontSize: '52px', color: '#fff', marginLeft: '26px', fontFamily: 'fantasy' }}>{(data.selectRegisteredCount && data.selectRegisteredCount + 95) || '0'}</span>
44
+          <span style={{ fontSize: '52px', color: '#fff', marginLeft: '26px', fontFamily: 'fantasy' }}>{data.selectRegisteredCount || '0'}</span>
45
         </div>
45
         </div>
46
         <div onClick={() => router.push('/indexEcharts/newUsers')} style={{
46
         <div onClick={() => router.push('/indexEcharts/newUsers')} style={{
47
           textAlign: 'center', display: 'flex', justifyContent: 'center', background: 'linear-gradient(137deg,rgba(107,130,230,1) 0%,rgba(152,175,251,1) 100%)', height: '100px',
47
           textAlign: 'center', display: 'flex', justifyContent: 'center', background: 'linear-gradient(137deg,rgba(107,130,230,1) 0%,rgba(152,175,251,1) 100%)', height: '100px',