fix: lint caused by mutation modelValue
This commit is contained in:
@@ -11,7 +11,7 @@ defineProps<{
|
|||||||
模糊匹配
|
模糊匹配
|
||||||
</span>
|
</span>
|
||||||
<label m="x-1" class="switch">
|
<label m="x-1" class="switch">
|
||||||
<input v-model="strict" type="checkbox">
|
<input :modelValue="strict" type="checkbox" @update:modelValue="toggleStrict">
|
||||||
<span class="inline-flex justify-center items-center slider round" />
|
<span class="inline-flex justify-center items-center slider round" />
|
||||||
</label>
|
</label>
|
||||||
<span :class="strict && 'text-green-600'" font="bold" m="x-1" @click="toggleStrict(true)">
|
<span :class="strict && 'text-green-600'" font="bold" m="x-1" @click="toggleStrict(true)">
|
||||||
|
|||||||
Reference in New Issue
Block a user