From 3df2d3624c6b768d29670b537f8d6a71d3ef122c Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期日, 12 四月 2020 22:04:53 +0800
Subject: [PATCH] 2020-04-12

---
 src/templates/zshare/verifycard/customform/index.jsx |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/templates/zshare/verifycard/customform/index.jsx b/src/templates/zshare/verifycard/customform/index.jsx
index 2217988..68c83e2 100644
--- a/src/templates/zshare/verifycard/customform/index.jsx
+++ b/src/templates/zshare/verifycard/customform/index.jsx
@@ -1,6 +1,6 @@
 import React, {Component} from 'react'
 import PropTypes from 'prop-types'
-import { Form, Row, Col, Input, Select, Button, notification } from 'antd'
+import { Form, Row, Col, Input, Select, Button, notification, Modal } from 'antd'
 import moment from 'moment'
 
 import Utils from '@/utils/utils.js'
@@ -96,10 +96,9 @@
             })
           } else {
             this.setState({loading: false})
-            notification.warning({
-              top: 92,
-              message: res.message,
-              duration: 10
+            
+            Modal.error({
+              title: res.message
             })
           }
         })

--
Gitblit v1.8.0