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