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/tablenodes/index.jsx | 15 +++++++-------- 1 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/tabviews/zshare/tablenodes/index.jsx b/src/tabviews/zshare/tablenodes/index.jsx index 21c1919..4a258bc 100644 --- a/src/tabviews/zshare/tablenodes/index.jsx +++ b/src/tabviews/zshare/tablenodes/index.jsx @@ -1,7 +1,7 @@ import React, {Component} from 'react' import PropTypes from 'prop-types' import { is, fromJS } from 'immutable' -import { Modal, Button, notification, Spin, Input, Typography, message } from 'antd' +import { Modal, Button, notification, Spin, Input, Typography, message, Tooltip } from 'antd' import Api from '@/api' import G6 from "@antv/g6" @@ -473,14 +473,13 @@ const { config } = this.props const { visible, loading, empty, debug } = this.state + if (window.GLOB.mkHS || window.GLOB.systemType === 'production' || !debug || window.GLOB.sysType === 'cloud') return null + return ( - <div className={'page-message-wrap ' + (debug && window.GLOB.sysType !== 'cloud' ? 'exist' : '')}> - {debug && window.GLOB.sysType !== 'cloud' ? <Button - icon="fork" - shape="circle" - className="page-message" - onClick={this.trigger} - /> : null} + <div className="tool-wrap"> + <Tooltip placement="left" title="琛ㄥ叧绯诲浘"> + <Button icon="fork" shape="circle" onClick={this.trigger}/> + </Tooltip> <Modal title="" wrapClassName="view-table-modal" -- Gitblit v1.8.0