Commit 27f3e678 authored by 陈龙's avatar 陈龙

fix: 修复按钮错行

parent 2a6e0354
...@@ -464,6 +464,7 @@ const HistoryView = (props) => { ...@@ -464,6 +464,7 @@ const HistoryView = (props) => {
// 自定义模式: 自定义时间选择 // 自定义模式: 自定义时间选择
const onCustomerRangeChange = (value) => { const onCustomerRangeChange = (value) => {
debugger
if (!value) { if (!value) {
// 时间清空,回到默认时间选择 // 时间清空,回到默认时间选择
setCustomerChecked(defaultChecked); setCustomerChecked(defaultChecked);
...@@ -681,6 +682,7 @@ const HistoryView = (props) => { ...@@ -681,6 +682,7 @@ const HistoryView = (props) => {
color: '#1980ff', color: '#1980ff',
cursor: 'pointer', cursor: 'pointer',
textDecoration: 'underline', textDecoration: 'underline',
lineHeight:1
}} }}
onClick={() => { onClick={() => {
setTimeFormatter(timeFormatter === '常规模式' ? '简易模式' : '常规模式'); setTimeFormatter(timeFormatter === '常规模式' ? '简易模式' : '常规模式');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment