fix รักษาการในตำแหน่ง

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-12-12 11:21:45 +07:00
parent f43df4b3fd
commit 1d9faaf572
2 changed files with 4 additions and 3 deletions

View file

@ -206,7 +206,6 @@ async function fetchCommandType() {
*/
function filterOption(val: string, update: Function) {
update(() => {
group.value = val ? "" : group.value;
groupOp.value = groupDataOp.value.filter(
(v: DataOption) => v.name.indexOf(val) > -1
);
@ -487,12 +486,14 @@ watch(modal, async () => {
option-label="name"
:options="groupOp"
option-value="id"
class="inputgreen"
:class="isStaff ? '' : 'inputgreen'"
dense
:readonly="isStaff"
emit-value
map-options
use-input
hide-selected
fill-input
outlined
@update:model-value="updateValue"
@filter="(inputValue:any,doneFn:Function) => filterOption(inputValue, doneFn) "