fix qrcode error

This commit is contained in:
CPunisher 2020-05-03 10:36:40 +08:00
parent becc2eb38e
commit 37e33724ce
4 changed files with 3 additions and 11442 deletions

View File

@ -11,8 +11,7 @@
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="78c692f3-8e9f-49c7-86c1-0c5e9d711b1f" name="Default Changelist" comment="静态参数调节组件初步完成"> <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$/.gitignore" beforeDir="false" afterPath="$PROJECT_DIR$/.gitignore" 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$/src/components/Qrcode.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/Qrcode.js" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/components/Qrcode.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/Qrcode.js" afterDir="false" />
</list> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />

View File

@ -78,7 +78,7 @@ class Qrcode extends React.Component {
<div className="Qr-s"> <div className="Qr-s">
<div className="Qr-box"> <div className="Qr-box">
{ {
getStyleList().map((style) => { getStyleList(this.state.qrcode).map((style) => {
return <QrItem return <QrItem
value={style.value} value={style.value}
key={style.value} key={style.value}

11438
yarn.lock

File diff suppressed because it is too large Load Diff