|
@@ -272,7 +272,6 @@ export default {
|
|
|
const kw = this.searchKeyword.toLowerCase()
|
|
const kw = this.searchKeyword.toLowerCase()
|
|
|
return this.filterTree(this.menuTree, kw)
|
|
return this.filterTree(this.menuTree, kw)
|
|
|
},
|
|
},
|
|
|
-<<<<<<< HEAD
|
|
|
|
|
flatMenuOptions() {
|
|
flatMenuOptions() {
|
|
|
const options = []
|
|
const options = []
|
|
|
const flatten = (nodes) => {
|
|
const flatten = (nodes) => {
|
|
@@ -368,7 +367,6 @@ export default {
|
|
|
this.$message.error('加载菜单树失败')
|
|
this.$message.error('加载菜单树失败')
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
-<<<<<<< HEAD
|
|
|
|
|
// 递归添加 displayName
|
|
// 递归添加 displayName
|
|
|
addDisplayName(nodes) {
|
|
addDisplayName(nodes) {
|
|
|
return (nodes || []).map(n => {
|
|
return (nodes || []).map(n => {
|