diff --git a/pages/user/User/index.vue b/pages/user/User/index.vue index 157b6ed..4a4c714 100644 --- a/pages/user/User/index.vue +++ b/pages/user/User/index.vue @@ -167,7 +167,7 @@ props: {}, data: function () { return { - MyMenus: [], + MyMenus: [], switchActive: false, isWeixin: false }; @@ -298,13 +298,6 @@ changeswitch: function (data) { this.switchActive = data; }, - User: function () { - let that = this; - getUserInfo().then(res => { - that.user = res.data; - that.orderStatusNum = res.data.orderStatusNum; - }); - }, MenuUser: function () { let that = this; getMenuUser()