king
2021-12-19 9ee3d1f9a09a865188baffdffb85f6ad329c7b09
src/menu/components/share/clockcomponent/index.jsx
@@ -3,8 +3,6 @@
import { is, fromJS } from 'immutable'
import { Icon, Modal } from 'antd'
import zhCN from '@/locales/zh-CN/model.js'
import enUS from '@/locales/en-US/model.js'
import ClockForm from './settingform'
import './index.scss'
@@ -14,7 +12,6 @@
  }
  state = {
    dict: sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS,
    visible: false
  }
@@ -35,7 +32,7 @@
      this.setState({
        visible: false
      })
      this.props.updateConfig({...config, timer: res.timer})
      this.props.updateConfig({...config, timer: res.timer, clearField: res.clearField || '', clearValue: res.clearValue || ''})
    })
  }