This commit is contained in:
syuilo 2017-03-27 04:39:46 +09:00
parent de6e109a91
commit 692bd515e3
6 changed files with 5 additions and 25 deletions

View file

@ -5,9 +5,7 @@
</style>
<script>
this.on('mount', () => {
// https://github.com/riot/riot/issues/2103
//value = this.opts.value
let value = this.opts.riotValue;
let value = this.opts.value;
const max = this.opts.max;
if (max != null && value > max) value = max;