Commit 73b06c36 by 匡雅琴

更新

1 parent df356030
......@@ -31,17 +31,17 @@
</template>
</el-input>
</el-popover>
<MerchantTree ref="merchantTree" @select="select"></MerchantTree>
<DepartmentTree ref="departmentTree" @select="select"></DepartmentTree>
</div>
</template>
<script>
import { utils } from 'glsx-common'
import MerchantTree from './merchantTree.vue'
import DepartmentTree from './departmentTree.vue'
export default {
name: 'SearchSelect',
components: {
MerchantTree
DepartmentTree
},
data() {
return {
......@@ -135,7 +135,7 @@ export default {
this.isOpen = true
this.visible = false
if (this.isOpen) {
this.$refs.merchantTree.visible = true
this.$refs.departmentTree.visible = true
}
},
handleInput: utils.debounce(function(val) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!