Commit 73b06c36 by 匡雅琴

更新

1 parent df356030
...@@ -31,17 +31,17 @@ ...@@ -31,17 +31,17 @@
</template> </template>
</el-input> </el-input>
</el-popover> </el-popover>
<MerchantTree ref="merchantTree" @select="select"></MerchantTree> <DepartmentTree ref="departmentTree" @select="select"></DepartmentTree>
</div> </div>
</template> </template>
<script> <script>
import { utils } from 'glsx-common' import { utils } from 'glsx-common'
import MerchantTree from './merchantTree.vue' import DepartmentTree from './departmentTree.vue'
export default { export default {
name: 'SearchSelect', name: 'SearchSelect',
components: { components: {
MerchantTree DepartmentTree
}, },
data() { data() {
return { return {
...@@ -135,7 +135,7 @@ export default { ...@@ -135,7 +135,7 @@ export default {
this.isOpen = true this.isOpen = true
this.visible = false this.visible = false
if (this.isOpen) { if (this.isOpen) {
this.$refs.merchantTree.visible = true this.$refs.departmentTree.visible = true
} }
}, },
handleInput: utils.debounce(function(val) { 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!