mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-09 15:04:06 +08:00
32 lines
569 B
Vue
32 lines
569 B
Vue
<template>
|
|
<div class="row items-center">
|
|
<q-option-group
|
|
:model-value="modelValue"
|
|
:options="options"
|
|
type="checkbox"
|
|
inline
|
|
dense
|
|
@update:model-value="$emit('update:modelValue', $event)"
|
|
/>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import { defineComponent } from "vue";
|
|
|
|
export default defineComponent({
|
|
name: "UBrowserCheckboxGroup",
|
|
props: {
|
|
modelValue: {
|
|
type: Array,
|
|
default: () => [],
|
|
},
|
|
options: {
|
|
type: Array,
|
|
required: true,
|
|
},
|
|
},
|
|
emits: ["update:modelValue"],
|
|
});
|
|
</script>
|