修改个人中心订单数量显示的问题;去除多余代码
This commit is contained in:
@ -167,7 +167,7 @@
|
|||||||
props: {},
|
props: {},
|
||||||
data: function () {
|
data: function () {
|
||||||
return {
|
return {
|
||||||
MyMenus: [],
|
MyMenus: [],
|
||||||
switchActive: false,
|
switchActive: false,
|
||||||
isWeixin: false
|
isWeixin: false
|
||||||
};
|
};
|
||||||
@ -298,13 +298,6 @@
|
|||||||
changeswitch: function (data) {
|
changeswitch: function (data) {
|
||||||
this.switchActive = data;
|
this.switchActive = data;
|
||||||
},
|
},
|
||||||
User: function () {
|
|
||||||
let that = this;
|
|
||||||
getUserInfo().then(res => {
|
|
||||||
that.user = res.data;
|
|
||||||
that.orderStatusNum = res.data.orderStatusNum;
|
|
||||||
});
|
|
||||||
},
|
|
||||||
MenuUser: function () {
|
MenuUser: function () {
|
||||||
let that = this;
|
let that = this;
|
||||||
getMenuUser()
|
getMenuUser()
|
||||||
|
Reference in New Issue
Block a user