💪 optimize: 删除冗余代码

This commit is contained in:
wangsongsole 2023-09-27 17:49:29 +08:00
parent 78bfc0e78a
commit d160562cfa
1 changed files with 4 additions and 5 deletions

View File

@ -1,9 +1,9 @@
import React from "react"
import { Sweetalert, Card, Button, Notify } from "zent"
import Adddistributor from "../adddistributorinfo/adddistributorinfo"
import { handelResponse, postCreateReseller, putResellerInfo } from "@/assets/api.js" import { handelResponse, postCreateReseller, putResellerInfo } from "@/assets/api.js"
import { cloneDeep, omit } from "lodash-es"
import "@/assets/comm.css" import "@/assets/comm.css"
import { cloneDeep, omit } from "lodash-es"
import React from "react"
import { Button, Card, Notify, Sweetalert } from "zent"
import Adddistributor from "../adddistributorinfo/adddistributorinfo"
import "./add.less" import "./add.less"
export default class acclist extends React.Component { export default class acclist extends React.Component {
constructor(props) { constructor(props) {
@ -145,7 +145,6 @@ export default class acclist extends React.Component {
}) })
} }
render() { render() {
const { current, pageSize } = this.state
return ( return (
<div className="maincenter"> <div className="maincenter">
<Card style={{ width: "100%" }} title={this.state.pagetitle}> <Card style={{ width: "100%" }} title={this.state.pagetitle}>