fix qrcode error
This commit is contained in:
parent
becc2eb38e
commit
37e33724ce
|
@ -22,4 +22,4 @@ npm-debug.log*
|
|||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
|
||||
/.idea/workspace.xml
|
||||
/.idea/workspace.xml
|
||||
|
|
|
@ -11,8 +11,7 @@
|
|||
</component>
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="78c692f3-8e9f-49c7-86c1-0c5e9d711b1f" name="Default Changelist" comment="静态参数调节组件初步完成">
|
||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/components/Qrcode.css" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/Qrcode.css" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.gitignore" beforeDir="false" afterPath="$PROJECT_DIR$/.gitignore" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/components/Qrcode.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/Qrcode.js" afterDir="false" />
|
||||
</list>
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
|
|
|
@ -78,7 +78,7 @@ class Qrcode extends React.Component {
|
|||
<div className="Qr-s">
|
||||
<div className="Qr-box">
|
||||
{
|
||||
getStyleList().map((style) => {
|
||||
getStyleList(this.state.qrcode).map((style) => {
|
||||
return <QrItem
|
||||
value={style.value}
|
||||
key={style.value}
|
||||
|
|
Loading…
Reference in New Issue