src/templates/zshare/pasteform/index.jsx
@@ -1,6 +1,7 @@ import React, {Component} from 'react' import PropTypes from 'prop-types' import { Form, Row, Col, Input, notification } from 'antd' import Utils from '@/utils/utils.js' import './index.scss' const { TextArea } = Input @@ -39,6 +40,10 @@ _config = '' } if (_config && _config.uuid) { // 每次粘贴时更新ID,防止重复粘贴时id重复 _config.uuid = Utils.getuuid() } if (_config) { resolve(_config) }