Commit 01eebb03 authored by zhengke's avatar zhengke

修改

parent ec93da28
......@@ -13,7 +13,7 @@
</template>
</div>
<div style="height:450px;overflow:scroll" v-else>
<el-input placeholder="输入关键字进行过滤" v-model="filterText">
<el-input placeholder="输入关键字进行过滤" style="width:99%;margin-bottom:10px;" v-model="filterText">
</el-input>
<el-tree :data="item.SubMenuList" node-key="PageId" ref="tree" :props="defaultProps" filter
:filter-node-method="filterNode" @check="handleCheck"
......@@ -112,7 +112,7 @@
},
filterNode(value, data) {
if (!value) return true;
return data.label.indexOf(value) !== -1;
return data.PageName.indexOf(value) !== -1;
},
//check单选
handleCheck (a, b) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment