Commit cbc2282a by 胡悦

修改搜索

1 parent b65475f6
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2022-04-27 10:28:50
* @LastEditors: huyue
* @LastEditTime: 2022-05-06 09:51:07
* @LastEditTime: 2022-05-06 17:29:35
-->
<template>
......@@ -21,10 +21,10 @@
<li>无数据</li>
</template>
</ul>
<el-input slot="reference" style="width: 320px" v-model="searchKey.merchantName" :size="size" @input="handleInput" @blur="handleBlur" placeholder="请输入内容">
<el-input slot="reference" debounce style="width: 320px" v-model="searchKey.merchantName" :size="size" @input="handleInput" @blur="handleBlur" placeholder="请输入内容">
<!-- <i slot="suffix" class="el-input__icon el-icon-arrow-down" :class="isOpen ? 'is-focus' : ''"></i> -->
<template slot="append">
<div class="input_append" @click="arrowClick">
<div class="input_append" @click.stop="arrowClick">
<img src="@/assets/add_merchant.png" alt="" />
</div>
</template>
......@@ -123,7 +123,8 @@ export default {
},
methods: {
arrowClick() {
this.isOpen = !this.isOpen
console.log(1)
this.isOpen = true
this.visible = false
if (this.isOpen) {
this.$refs.merchantTree.visible = true
......@@ -208,8 +209,8 @@ export default {
border: 1px solid #5850ff;
}
.input_append {
width: 40px;
height: 36px;
width: 38px;
height: 30px;
}
</style>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!