Browse Source

草稿箱总条数使用 res.Total, 不使用 Content数组的长度

yunxing 4 years ago
parent
commit
c9bc475b90
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/components/menuList.vue

+ 1 - 0
src/components/menuList.vue

@@ -116,6 +116,7 @@ export default {
                 this.draftNum = null
                 this.draftNum = null
                 return false
                 return false
             }
             }
+            // 草稿箱总条数使用 res.Total, 不使用 Content数组的长度
             this.draftNum = res.Total || null
             this.draftNum = res.Total || null
         },
         },
         //入草稿箱
         //入草稿箱