version 0.5.23:
fix q-toggle was disabled
This commit is contained in:
@@ -117,10 +117,12 @@ export default defineComponent({
|
||||
}
|
||||
|
||||
|
||||
watch(() => filtercustom.value, (value: any, oldval: any) => {
|
||||
/*watch(() => filtercustom.value, (value: any, oldval: any) => {
|
||||
updatefilter(myrecfiltertoggle.value)
|
||||
})
|
||||
|
||||
*/
|
||||
|
||||
watch(() => myrecfiltertoggle.value, (value: any, oldval: any) => {
|
||||
updatefilter(value)
|
||||
},
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<div v-else>
|
||||
<q-toggle
|
||||
dark color="green" v-model="myvalue" :label="col.title"
|
||||
:disable="disable && (col.name !== 'profile.saw_zoom_presentation') || !isInModif"
|
||||
:disable="disable && (col.name !== 'profile.saw_zoom_presentation') || (!isInModif && !canModify && !canEdit)"
|
||||
@update:model-value="Savedb"></q-toggle>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user