king
2020-03-18 aaee2aa047e856141dce84c5d3f1cd16d9a00dcd
src/views/login/index.jsx
@@ -13,7 +13,6 @@
import './index.scss'
const LoginForm = asyncComponent(() => import('./loginform'))
// const Action = asyncComponent(() => import('@/tabviews/tableshare/actionList'))
const iszhCN = !localStorage.getItem('lang') || localStorage.getItem('lang') === 'zh-CN'
class Login extends Component {
@@ -29,8 +28,7 @@
    ICP: window.GLOB.icp || 'ICP备案: 京ICP备12007830号',
    bgColor: window.GLOB.bgColor || '#000000',
    lineColor: window.GLOB.lineColor || '#1890ff',
    website: window.GLOB.website || (!window.GLOB.copyRight && 'http://minkesoft.com'),
    loaded: false
    website: window.GLOB.website || (!window.GLOB.copyRight && 'http://minkesoft.com')
  }
  changelang (item) {
@@ -144,7 +142,6 @@
            isDisabled={this.state.isDisabled}
            changelang={(value) => this.changelang(value)}
            handleSubmit={() => this.handleSubmit()}
            loaded={() => this.setState({ loaded: true })}
            wrappedComponentRef={(inst) => this.loginformRef = inst}
          />
        </div>
@@ -155,7 +152,6 @@
          }
          <p dangerouslySetInnerHTML={{ __html: this.state.ICP.replace(/\s/ig, '&nbsp;') }}></p>
        </div>
        {/* {this.state.loaded ? <div style={{position: 'fixed', bottom: '-1000px'}}><Action setting={{}} actions={[]} /></div> : null } */}
      </div>
    )
  }