bug
jiangping
2023-11-07 64b432916af9c9218ab3f3eca614e26c542142ae
minipro_standard/store/index.js
@@ -81,13 +81,12 @@
         let res = await getTreeList({
            type: type
         })
         if (res && res.code === 200) {
         if (res.code === 200) {
            content.commit('SETMENU', res.data)
         }
      },
      // 获取状态高度
      getHeight(context) {
         // #ifdef MP-WEIXIN
         let res = uni.getMenuButtonBoundingClientRect()
         let status = uni.getSystemInfoSync()
         let menuButtonWidth = res.width
@@ -100,13 +99,10 @@
            height,
            menuButtonWidth
         })
         // #endif
      },
      async getUpcomingNum(context) {
         let res = await pageCount({})
         if (res && res.code === 200) {
         if (res.code === 200) {
            context.commit('SETNUM', {
               d: res.data.startNum,
               y: res.data.endNum
@@ -116,7 +112,7 @@
      // 向后端获取个人信息
      async getUserInfos(content) {
         let res = await getUserInfo()
         if (res && res.code === 200) {
         if (res.code === 200) {
            content.commit('SETUSERINFO', res.data)
            return true;
         }