拼写错误

This commit is contained in:
liaoxuezhi 2019-09-02 19:30:37 +08:00
parent 31c9d0ab90
commit 1d48bbc8b7
2 changed files with 9 additions and 2 deletions

View File

@ -319,6 +319,13 @@ if (fis.project.currentMedia() === 'publish') {
},
});
env.match('/src/icons/**.svg', {
optimizer: fis.plugin('uglify-js'),
moduleId: function (m, path) {
return fis.util.md5('amis-sdk' + path);
},
});
env.match('src/components/Editor.tsx', {
release: '/ide.js'
});

View File

@ -370,7 +370,7 @@ export class Audio extends React.Component<AudioProps, AudioState> {
<div
className={cx('Audio-volumeControlIcon')}
onClick={this.handleMute}>
{volume > 0 ? <Icon icon="volumn" className="icon" /> : <Icon icon="mute" className="icon" />}
{volume > 0 ? <Icon icon="volume" className="icon" /> : <Icon icon="mute" className="icon" />}
</div>
<input
type='range' min={0} max={1} step='any'
@ -381,7 +381,7 @@ export class Audio extends React.Component<AudioProps, AudioState> {
<div
className={cx('Audio-volume')}
onMouseEnter={() => this.toggleHandleVolume(true)}>
{volume > 0 ? <Icon icon="volumn" className="icon" /> : <Icon icon="mute" className="icon" />}
{volume > 0 ? <Icon icon="volume" className="icon" /> : <Icon icon="mute" className="icon" />}
</div>
)
)