fix: fixed VnLocation and warnings
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
fe7b37fd15
commit
f536d08317
|
@ -70,6 +70,9 @@ const handleModelValue = (data) => {
|
||||||
<VnSelectDialog
|
<VnSelectDialog
|
||||||
v-model="modelValue"
|
v-model="modelValue"
|
||||||
option-filter-value="search"
|
option-filter-value="search"
|
||||||
|
:option-label="
|
||||||
|
(opt) => (typeof modelValue === 'string' ? modelValue : showLabel(opt))
|
||||||
|
"
|
||||||
url="Postcodes/filter"
|
url="Postcodes/filter"
|
||||||
@update:model-value="handleModelValue"
|
@update:model-value="handleModelValue"
|
||||||
:use-like="false"
|
:use-like="false"
|
||||||
|
|
|
@ -27,7 +27,7 @@ const $props = defineProps({
|
||||||
default: () => [],
|
default: () => [],
|
||||||
},
|
},
|
||||||
optionLabel: {
|
optionLabel: {
|
||||||
type: [String],
|
type: [String, Function],
|
||||||
default: 'name',
|
default: 'name',
|
||||||
},
|
},
|
||||||
optionValue: {
|
optionValue: {
|
||||||
|
|
|
@ -196,7 +196,7 @@ async function autofillBic(worker) {
|
||||||
prefix="workerSearch"
|
prefix="workerSearch"
|
||||||
:array-data-props="{
|
:array-data-props="{
|
||||||
url: 'Workers/filter',
|
url: 'Workers/filter',
|
||||||
order: ['id DESC'],
|
order: 'id DESC',
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<template #rightMenu>
|
<template #rightMenu>
|
||||||
|
|
Loading…
Reference in New Issue