@@ -37,6 +37,7 @@ export default create({
const updateValue = (value: any[]) => {
emit('update:modelValue', value);
+ emit('change', value);
};
const toggleAll = (checked: boolean) => {
@@ -17,10 +17,10 @@
@for $i from 1 through 24 {
.nut-col-offset-#{$i} {
- margin-left: 100/ 24 * $i * 1%;
+ margin-left: math.div(100, 24) * $i * 1%;
}
.nut-col-#{$i} {
- width: 100/ 24 * $i * 1%;
+ width: math.div(100, 24) * $i * 1%;