lrf402788946 5 years ago
parent
commit
3b61239eb8
2 changed files with 3 additions and 3 deletions
  1. 2 2
      src/router/index.js
  2. 1 1
      src/views/index.vue

+ 2 - 2
src/router/index.js

@@ -21,12 +21,12 @@ const routes = [
       },
 
       {
-        path: 'Itembank/detail',
+        path: '/itembank/detail',
         name: 'teacher_detail',
         component: () => import('@/views/Itembank/detail.vue'),
       },
       {
-        path: 'Itembank/index',
+        path: '/itembank/index',
         name: 'index_index',
         component: () => import('@/views/Itembank/index.vue'),
       },

+ 1 - 1
src/views/index.vue

@@ -37,7 +37,7 @@ export default {
 <style lang="less" scoped>
 .display {
   height: ~'calc(100% - 30px)';
-  padding: 1rem;
+  padding: 0.3rem;
 }
 
 .app-wrapper {