- Installa APP: Messaggio in CIMA
- in sistemazione: select compare la scelta di prima.
This commit is contained in:
@@ -272,6 +272,7 @@ export default defineComponent({
|
||||
if (myvalue.value && JSON.stringify(myvalue.value)) {
|
||||
saveLastOpt(props.optval, JSON.stringify(myvalue.value))
|
||||
}
|
||||
saveOptInCookie([myvalue.value])
|
||||
|
||||
emit('update:value', myvalue.value)
|
||||
emit('changeval', myvalue.value)
|
||||
@@ -388,6 +389,8 @@ export default defineComponent({
|
||||
rec = arrtempOpt.value.find((myrec: any) => val === (myrec[`${props.optval}`]))
|
||||
if (rec) {
|
||||
myarrvalue.value.push(rec[`${props.optval}`])
|
||||
} else {
|
||||
myarrvalue.value.push(val)
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<template>
|
||||
<div class="text-center">
|
||||
<div v-if="multiselect_by_server">
|
||||
myarrvalue: {{myarrvalue}}
|
||||
<q-select
|
||||
:model-value="myarrvalue"
|
||||
@update:model-value="changeval"
|
||||
|
||||
Reference in New Issue
Block a user