home
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
userName: 'admin',
|
||||
userName: '',
|
||||
menuList: [],
|
||||
menuList1: [],
|
||||
menuList2: [],
|
||||
@@ -68,8 +68,8 @@
|
||||
async _authority () {
|
||||
let res = await authority()
|
||||
if (res.code === '1') {
|
||||
this.menuList1 = [...res.result.rf_menu0]
|
||||
this.menuList2 = [...res.result.rf_menu1]
|
||||
this.menuList1 = [...res.result.rf_menu0.sonTree]
|
||||
this.menuList2 = [...res.result.rf_menu1.sonTree]
|
||||
this.menuList = [...this.menuList1]
|
||||
} else {
|
||||
uni.showToast({
|
||||
|
||||
Reference in New Issue
Block a user