提交 2cbaf71e authored 作者: 钟是志's avatar 钟是志

删除冗余代码

上级 3bd65b80
...@@ -387,7 +387,6 @@ class DetailSplit extends Component { ...@@ -387,7 +387,6 @@ class DetailSplit extends Component {
goOtherDetail = (e) => { goOtherDetail = (e) => {
const code = e.currentTarget.dataset.codeId; const code = e.currentTarget.dataset.codeId;
console.log(this.props);
let url = window.location.href.split('#')[0]; let url = window.location.href.split('#')[0];
if (code) { if (code) {
window.open(url + '#' + this.props.history.location.pathname + '?code=' + code + '&showAll=false'); window.open(url + '#' + this.props.history.location.pathname + '?code=' + code + '&showAll=false');
...@@ -1023,7 +1022,6 @@ function Index(props) { ...@@ -1023,7 +1022,6 @@ function Index(props) {
lite: true, lite: true,
}, },
callback: (val) => { callback: (val) => {
console.log(val);
message.destroy(); message.destroy();
if (val) { if (val) {
DetailSplitFormNew.current = Form.create( DetailSplitFormNew.current = Form.create(
......
...@@ -230,7 +230,6 @@ export default class Signature extends Component { ...@@ -230,7 +230,6 @@ export default class Signature extends Component {
WebSign = () => { WebSign = () => {
const { width, height } = this.props; const { width, height } = this.props;
const EditIcon = this.EditIcon; const EditIcon = this.EditIcon;
// console.log(this.props);
const { url } = this.state; const { url } = this.state;
if (url) { if (url) {
return ( return (
......
...@@ -45,7 +45,6 @@ export default class MobileCascader extends Component{ ...@@ -45,7 +45,6 @@ export default class MobileCascader extends Component{
value={value} value={value}
extra={disabled ? '' : json.placeholder || '点击选择'} extra={disabled ? '' : json.placeholder || '点击选择'}
onChange={(val) => { onChange={(val) => {
console.log(val);
onChange(val || undefined); onChange(val || undefined);
}} }}
{...otherProps?.props} {...otherProps?.props}
......
...@@ -4,7 +4,6 @@ const Modal = getModal(); ...@@ -4,7 +4,6 @@ const Modal = getModal();
export default class FormModal extends React.Component { export default class FormModal extends React.Component {
render() { render() {
// console.log(this.props);
return ( return (
<Modal <Modal
bodyStyle={{ bodyStyle={{
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论