guhongwei 4 rokov pred
rodič
commit
8a8a7be65a
2 zmenil súbory, kde vykonal 2 pridanie a 4 odobranie
  1. 1 3
      src/views/index.vue
  2. 1 1
      src/views/login.vue

+ 1 - 3
src/views/index.vue

@@ -6,7 +6,7 @@
           <NavBar v-show="navShow" :title="title" :isleftarrow="isleftarrow"> </NavBar>
         </el-col>
         <el-col :span="24" class="main">
-          <upload :limit="1" :data="img_path" type="img_path" :url="'/files/imgpath/upload'" @upload="uploadSuccess"></upload>
+          无用页面
         </el-col>
         <el-col :span="24" class="foot">
           <footInfo></footInfo>
@@ -19,14 +19,12 @@
 <script>
 import NavBar from '@/layout/common/topInfo.vue';
 import footInfo from '@/layout/common/footInfo.vue';
-import upload from '@/components/upload.vue';
 export default {
   name: 'index',
   props: {},
   components: {
     NavBar,
     footInfo,
-    upload,
   },
   data: () => ({
     // 头部标题

+ 1 - 1
src/views/login.vue

@@ -45,7 +45,7 @@ export default {
     },
   },
   computed: {
-    // ...mapState(['user']),
+    ...mapState(['user']),
   },
   mounted() {
     this.title = this.$route.meta.title;