update Select
This commit is contained in:
parent
01b54e3021
commit
ec98f3c3ae
2 changed files with 9 additions and 7 deletions
|
@ -1,5 +1,6 @@
|
|||
<template>
|
||||
<div style="width: 200px;margin: 100px;">
|
||||
{{ model }}
|
||||
<i-select v-model="model" filterable remote :remote-method="remoteMethod" :loading="loading" clearable style="width:200px">
|
||||
<i-option v-for="option in options" :value="option.value" :key="option">{{option.label}}</i-option>
|
||||
</i-select>
|
||||
|
@ -80,7 +81,7 @@
|
|||
return item.label.toLowerCase()
|
||||
.indexOf(query.toLowerCase()) > -1;
|
||||
});
|
||||
}, 200);
|
||||
}, 500);
|
||||
} else {
|
||||
this.options = [];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue