فهرست منبع

修改显示bug

181250114 4 سال پیش
والد
کامیت
6ed5e261c1
2فایلهای تغییر یافته به همراه10 افزوده شده و 10 حذف شده
  1. 9 9
      src/App.vue
  2. 1 1
      src/components/Group.vue

+ 9 - 9
src/App.vue

@@ -1,6 +1,6 @@
 <template>
-  <a-layout id="components-layout-demo-fixed" class="layout" style="min-height:1000px"
-            :style="{height:clientHeight+'px'}">
+  <a-layout id="components-layout-demo-fixed" class="layout" style="min-height:1000px">
+<!--            :style="{height:clientHeight+'px'}">-->
     <a-layout-header :style="{ position: 'fixed', zIndex: 1, width: '100%' }">
       <div class="logo">
 <!--        <img :src="'https://se4.oss-cn-beijing.aliyuncs.com/logo.png'" inline/>-->
@@ -13,14 +13,14 @@
         @click="changeRouter"
       >
         <a-menu-item key="home">
-          首页
+<!--          首页-->
+        </a-menu-item>
+        <a-menu-item key="group">
+          小组页面
+        </a-menu-item>
+        <a-menu-item key="student">
+          学生页面
         </a-menu-item>
-<!--        <a-menu-item key="student">-->
-<!--          学生页面-->
-<!--        </a-menu-item>-->
-<!--        <a-menu-item key="group">-->
-<!--          小组页面-->
-<!--        </a-menu-item>-->
       </a-menu>
     </a-layout-header>
     <br/><br/><br/>

+ 1 - 1
src/components/Group.vue

@@ -36,7 +36,7 @@
                   {{memberItem.studentId}}
                 </a-button>
               </a-col>
-              <a-col>
+              <a-col :span="8">
                 姓名:{{memberItem.name}}
               </a-col>
             </a-row>