hurx 5 일 전
부모
커밋
07019b08f6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/layout/components/nav.vue

+ 1 - 1
src/layout/components/nav.vue

@@ -117,7 +117,7 @@ onMounted(async () => {
 
 const initData = async () => {
   if (headerType.value == 'jdHeader') {
-    jdheaderCategoryList({ status: 1 }).then((res) => {
+    jdheaderCategoryList({ status: 1, pageSize: 10 }).then((res) => {
       if (res.code == 200) {
         document.documentElement.style.setProperty('--hover-nav2', res.rows.length > 0 ? res.rows[0].headerThemeColor || '#E7000B' : '#E7000B');
         res.rows.forEach((item: any) => {