Skip to content

Commit d810611

Browse files
committed
Fix template type.
1 parent 37d40ef commit d810611

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/fields/optional/fieldNoUiSlider.vue

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<template lang="html">
2-
</template>
3-
<template>
4-
<div class="slider" :disabled="disabled" :class="{ 'contain-pips': containPips, 'contain-tooltip': containTooltip }"></div>
2+
<div class="slider" :disabled="disabled" :class="{ 'contain-pips': containPips, 'contain-tooltip': containTooltip }"></div>
53
</template>
64

75
<script>
@@ -49,7 +47,7 @@
4947
this.slider.noUiSlider.set(value);
5048
}
5149
},
52-
formatValueToModel(val) {
50+
formatValueToModel(val) {
5351
if(typeof this.slider.noUiSlider !== "undefined"){
5452
if (val instanceof Array) {
5553
return [Number(val[0]), Number(val[1])];

0 commit comments

Comments
 (0)