From fc8c8d714687a22f711d642d192bd4149f3b7e88 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 22 四月 2024 11:15:14 +0800 Subject: [PATCH] 2024-04-22 --- src/tabviews/zshare/automatic/index.jsx | 15 +++++++-------- 1 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/tabviews/zshare/automatic/index.jsx b/src/tabviews/zshare/automatic/index.jsx index 951001a..d165c28 100644 --- a/src/tabviews/zshare/automatic/index.jsx +++ b/src/tabviews/zshare/automatic/index.jsx @@ -1,10 +1,10 @@ import React, {Component} from 'react' import PropTypes from 'prop-types' import { is, fromJS } from 'immutable' -import { Button, message } from 'antd' +import { Button, message, Tooltip } from 'antd' import MKEmitter from '@/utils/events.js' -import './index.scss' +// import './index.scss' class AutoMatic extends Component { static propTpyes = { @@ -223,12 +223,11 @@ const { running } = this.state return ( - <Button - icon={running ? 'pause' : 'forward'} - shape="circle" - className={'auto-matic ' + (window.GLOB.systemType === 'production' ? 'low' : '')} - onClick={this.trigger} - /> + <div className="tool-wrap"> + <Tooltip placement="left" title="鏃犱汉鍊煎畧"> + <Button icon={running ? 'pause' : 'forward'} shape="circle" onClick={this.trigger}/> + </Tooltip> + </div> ) } } -- Gitblit v1.8.0