|
@@ -38,6 +38,7 @@
|
|
@change="el_select"
|
|
@change="el_select"
|
|
placeholder="请选择"
|
|
placeholder="请选择"
|
|
popper-class="menu_select"
|
|
popper-class="menu_select"
|
|
|
|
+ filterable
|
|
>
|
|
>
|
|
<el-option
|
|
<el-option
|
|
v-for="(item, index) in options"
|
|
v-for="(item, index) in options"
|
|
@@ -151,6 +152,7 @@ export default {
|
|
//下拉列表api请求
|
|
//下拉列表api请求
|
|
options_api() {
|
|
options_api() {
|
|
api.options_api().then((requset) => {
|
|
api.options_api().then((requset) => {
|
|
|
|
+ this.options=[]
|
|
// console.log(requset)
|
|
// console.log(requset)
|
|
var list = requset.data;
|
|
var list = requset.data;
|
|
for (let i in list) {
|
|
for (let i in list) {
|