king
2023-06-14 08cce3334a2dc81d690b518136b0aaea64e48b0b
src/mob/components/search/single-search/index.jsx
@@ -11,6 +11,7 @@
import './index.scss'
const NormalForm = asyncIconComponent(() => import('@/components/normalform'))
const CopyComponent = asyncIconComponent(() => import('@/menu/components/share/copycomponent'))
class SingleSearchComponent extends Component {
  static propTpyes = {
@@ -133,6 +134,7 @@
            <NormalForm title="搜索设置" width={800} update={this.updateWrap} getForms={this.getWrapForms}>
              <EditOutlined style={{color: '#1890ff'}} title="编辑"/>
            </NormalForm>
            <CopyComponent type="singleSearch" card={card}/>
            <FontColorsOutlined className="style" title="调整样式" onClick={this.changeStyle}/>
            <DeleteOutlined className="close" onClick={() => this.props.deletecomponent(card.uuid)} />
          </div>
@@ -142,7 +144,7 @@
        <div className="component-name">
          <div className="center" onDoubleClick={() => {
            let oInput = document.createElement('input')
            oInput.value = card.uuid
            oInput.value = 'anchor' + card.uuid
            document.body.appendChild(oInput)
            oInput.select()
            document.execCommand('Copy')