|
@@ -68,7 +68,7 @@ export default {
|
|
onLoad() {
|
|
onLoad() {
|
|
this.getBannerList();
|
|
this.getBannerList();
|
|
this.getNewsList();
|
|
this.getNewsList();
|
|
- this.getRoleMenu();
|
|
|
|
|
|
+ // this.getRoleMenu();
|
|
this.getMenu();
|
|
this.getMenu();
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
@@ -111,6 +111,7 @@ export default {
|
|
});
|
|
});
|
|
}
|
|
}
|
|
});
|
|
});
|
|
|
|
+ console.log(this.menuList)
|
|
},
|
|
},
|
|
getNewsList() {
|
|
getNewsList() {
|
|
this.http.request({
|
|
this.http.request({
|
|
@@ -129,7 +130,10 @@ export default {
|
|
uni.showModal({ content: '功能还在开发中', showCancel: false });
|
|
uni.showModal({ content: '功能还在开发中', showCancel: false });
|
|
}
|
|
}
|
|
});
|
|
});
|
|
- }
|
|
|
|
|
|
+ },
|
|
|
|
+ go(url) {
|
|
|
|
+ uni.navigateTo({ url: url });
|
|
|
|
+ },
|
|
}
|
|
}
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|