最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

【已解决】ReactJS中给AdminLTE页面中添加一个重置按钮

AdminLTE crifan 2558浏览 0评论

想要在:

加上一个 重置的按钮。

参考:

AdminLTE 2 | Buttons

【总结】

最后,暂时用:

            <div className="col-md-4">  
              <div className="box box-warning">
                <div className="box-header with-border">
                  <h3 className="box-title">
                    重置
                  </h3>
                  <div className="box-tools pull-right">
                    <button type="button" className="btn btn-box-tool" data-widget="collapse">
                      <i className="fa fa-minus"></i>
                    </button>
                  </div>
                </div>
                <div className="box-body">
                  <button
                    type="button"
                    className="btn btn-block btn-warning"
                    onClick={this.resetCharts}
                  >
                    重置
                  </button>
                </div>
              </div>
            </div>

效果:

转载请注明:在路上 » 【已解决】ReactJS中给AdminLTE页面中添加一个重置按钮

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
90 queries in 0.411 seconds, using 22.12MB memory