@@ -0,0 +1,27 @@
+import React from 'react'
+import QRCode from 'qrcode.react'
+
+class ShareQR extends React.Component {
+ constructor(props) {
+ super(props)
+ this.state = {
+ url: ""
+ }
+ componentDidMount(){
+ this.setState({
+ url: "http://www.baidu.com/"
+ })
+ render(){
+ return(
+ <div>
+ <QRCode size={150} value={this.state.url} level={"L"}/>
+ </div>
+ )
+}
+export default ShareQR
@@ -13,7 +13,7 @@
&>.ant-layout-content {
flex: 1;
.content {
- height: 100%;
+ height: 95%;
&>.dashboard-content {
height: calc(~"100% - 20px");
margin: 10px;
@@ -1,5 +1,6 @@
-const BASE_URL = 'http://192.168.253.189:81/BI';
+// const BASE_URL = 'http://192.168.253.189:81/BI';
// const BASE_URL = 'http://192.168.253.129:8011';
+const BASE_URL = 'http://10.1.1.168:8094/BI/';
/**后台接口地址 */
const URLS = {