From ea2ace15f3178f730e2f5b165c07ae70bb162a3b Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Wed, 6 Nov 2019 15:04:20 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A4=E8=AF=81=E5=BC=B9=E6=A1=86=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E5=9B=BE=E7=89=87=E6=8E=A5=E5=8F=A3=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/modules/user/modal/RealNameCertificationModal.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/react/src/modules/user/modal/RealNameCertificationModal.js b/public/react/src/modules/user/modal/RealNameCertificationModal.js index 4ac7f3c82..cc5bfc2c6 100644 --- a/public/react/src/modules/user/modal/RealNameCertificationModal.js +++ b/public/react/src/modules/user/modal/RealNameCertificationModal.js @@ -2,7 +2,7 @@ import React, { Component } from "react"; import { message, Icon, Input, Form, Upload,Radio ,Tooltip} from "antd"; import axios from 'axios' import ModalWrapper from "../../courses/common/ModalWrapper" -import { City, getUploadActionUrl, getImageUrl, ImageLayer2, getUploadActionUrlOfAuth ,ConditionToolTip } from 'educoder' +import { getUploadActionUrl, ImageLayer2 ,ConditionToolTip } from 'educoder' import '../account/common.css' import AccountBasicEditItem from '../account/AccountBasicEditItem' import ApplyForAddOrgModal from './ApplyForAddOrgModal' @@ -469,12 +469,12 @@ class RealNameCertificationModal extends Component{ showApplyForAddChildOrgModal:this.showApplyForAddChildOrgModal } const uploadProps2 = { - name: 'image', + // name: 'image', data: {type: certification == 1 ? "real_name" : "professional"}, multiple: true, showUploadList: false, // https://newweb.educoder.net - action: this.props.current_user ? `${getUploadActionUrlOfAuth(this.props.current_user.login)}` : '', + action: this.props.current_user ? `${getUploadActionUrl()}` : '', className: 'idPic-uploader', onChange: this.handleChange2, };