Browse Source

1

dev-烟台0220需求
dai 3 years ago
parent
commit
107fae45f9
  1. 13
      src/views/modules/base/communityYantai/community.vue

13
src/views/modules/base/communityYantai/community.vue

@ -1,9 +1,8 @@
<template>
<div class="div_main">
<div :style="{ height: rowHeight }" class="div_tree">
<el-input placeholder="输入关键字进行过滤"
v-model="filterText">
</el-input>
<el-input placeholder="输入关键字进行过滤" v-model="filterText">
</el-input>
<el-scrollbar
ref="leftScrollBar"
:style="{ height: treeHeight }"
@ -285,7 +284,7 @@ export default {
return time.getTime() > nowData;
};
return {
filterText: '',
filterText: "",
treeLoading: true,
treeData: [],
openNodes: [],
@ -381,6 +380,12 @@ export default {
...mapGetters(["clientHeight", "iframeHeight"]),
},
watch: {
filterText(val) {
this.$refs.ref_tree.filter(val);
},
},
async mounted() {
this.treeLoading = true;

Loading…
Cancel
Save