提交 39428fd8 编写于 作者: shanwewei's avatar shanwewei

sww ---修复app-picker中ac输入关键字发送请求时进行数据过滤

上级 104b2337
......@@ -639,7 +639,7 @@ export default class AppPicker extends Vue {
return (
<div class='app-picker'>
<el-autocomplete class='text-value' value-key='text' disabled={this.disabled} v-model={this.curvalue} size='small'
trigger-on-focus={true} fetch-suggestions={(query: any, callback: any) => { this.onSearch(query, callback, true) }} on-select={(item: any) => { this.onACSelect(item) }}
trigger-on-focus={true} fetch-suggestions={(query: any, callback: any) => { this.onSearch(query, callback, false) }} on-select={(item: any) => { this.onACSelect(item) }}
on-input={($event: any) => this.onInput($event)} on-blur={($event: any) => { this.onBlur($event) }} style='width:100%;' {...content}>
<template slot='suffix'>
{(this.curvalue && !this.disabled) ? <i class='el-icon-circle-close' on-click={($event: any) => { this.onClear($event) }}></i> : ''}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册