Commit ce3bd68a authored by wangtao's avatar wangtao

的撒大

parent 0bcb729a
...@@ -18,5 +18,5 @@ ...@@ -18,5 +18,5 @@
</head> </head>
<body> <body>
<div id="root"></div> <div id="root"></div>
<script type="text/javascript" src="https://cdn.img.shangjiadao.cn/qingxiao/biz/dist/main.fdbac2.js"></script></body> <script type="text/javascript" src="https://cdn.img.shangjiadao.cn/qingxiao/biz/dist/main.dd7d2d.js"></script></body>
</html> </html>
\ No newline at end of file
...@@ -18,7 +18,7 @@ class qrcodeShow extends React.Component { ...@@ -18,7 +18,7 @@ class qrcodeShow extends React.Component {
download = () => { download = () => {
const { previewQrcode, downloadTitle } = this.props; const { previewQrcode, downloadTitle } = this.props;
const url = previewQrcode; const url = previewQrcode;
const name = `${downloadTitle}主题码`; const name = `${downloadTitle}`;
const image = new Image(); const image = new Image();
image.setAttribute('crossOrigin', 'anonymous'); image.setAttribute('crossOrigin', 'anonymous');
image.onload = () => { image.onload = () => {
......
...@@ -997,6 +997,8 @@ class StaticCenter extends React.Component { ...@@ -997,6 +997,8 @@ class StaticCenter extends React.Component {
closeQrcodeShow={this.closeCourseQrcodeShow} closeQrcodeShow={this.closeCourseQrcodeShow}
previewQrcode={previewCourseQrcode} previewQrcode={previewCourseQrcode}
title="扫码预览专栏课程" title="扫码预览专栏课程"
hrefType={1}
downloadTitle={addCourseObj.title}
/> />
<ManageCourse <ManageCourse
visible={manageCourseShow} visible={manageCourseShow}
......
...@@ -358,6 +358,8 @@ class singleDetailForm extends React.Component { ...@@ -358,6 +358,8 @@ class singleDetailForm extends React.Component {
previewQrcodeShow={previewCourseQrcodeShow} previewQrcodeShow={previewCourseQrcodeShow}
closeQrcodeShow={this.closeCourseQrcodeShow} closeQrcodeShow={this.closeCourseQrcodeShow}
previewQrcode={previewCourseQrcode} previewQrcode={previewCourseQrcode}
hrefType={1}
downloadTitle={addCourseObj.title}
title="扫码预览该课程" title="扫码预览该课程"
/> />
<Modal <Modal
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment