子页面修改国际化显示语言
This commit is contained in:
@@ -359,6 +359,9 @@ export default {
|
|||||||
getList() {
|
getList() {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
listMenu(this.queryParams).then(response => {
|
listMenu(this.queryParams).then(response => {
|
||||||
|
for (const item of response.data) {
|
||||||
|
item.menuName = this.$t(item.menuName)
|
||||||
|
}
|
||||||
this.menuList = this.handleTree(response.data, "menuId")
|
this.menuList = this.handleTree(response.data, "menuId")
|
||||||
this.loading = false
|
this.loading = false
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user