From 9ee3d1f9a09a865188baffdffb85f6ad329c7b09 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 19 十二月 2021 01:09:20 +0800 Subject: [PATCH] 2021-12-19 --- src/menu/components/share/clockcomponent/index.jsx | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/src/menu/components/share/clockcomponent/index.jsx b/src/menu/components/share/clockcomponent/index.jsx index a18f7dd..ee53e1a 100644 --- a/src/menu/components/share/clockcomponent/index.jsx +++ b/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 || ''}) }) } -- Gitblit v1.8.0