From 9b6ce1a5778c6e1a813237e87588c0052aae1bbb Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 29 四月 2020 17:26:15 +0800 Subject: [PATCH] 2020-04-29 --- src/templates/zshare/pasteform/index.jsx | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/templates/zshare/pasteform/index.jsx b/src/templates/zshare/pasteform/index.jsx index fcb82db..eb1632a 100644 --- a/src/templates/zshare/pasteform/index.jsx +++ b/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) { // 姣忔绮樿创鏃舵洿鏂癐D锛岄槻姝㈤噸澶嶇矘璐存椂id閲嶅 + _config.uuid = Utils.getuuid() + } + if (_config) { resolve(_config) } -- Gitblit v1.8.0