Asdbt 2 years ago
parent
commit
858be18036
2 changed files with 3 additions and 2 deletions
  1. 1 0
      src/views/publishers/addPublisher.vue
  2. 2 2
      src/views/publishers/publisherList.vue

+ 1 - 0
src/views/publishers/addPublisher.vue

@@ -239,6 +239,7 @@ export default {
 
 .avatar {
   width: 100%;
+  height: 100%;
   display: block;
 }
 </style>

+ 2 - 2
src/views/publishers/publisherList.vue

@@ -36,7 +36,7 @@
       </el-row>
     </div>
     <div class="pubform">
-      <el-table :data="tabletab"
+      <el-table :data="tableData"
         stripe
         border
         :style="{ borderRadius: '4px' }"
@@ -98,7 +98,7 @@ export default {
       value1:''
     };
   },
-  created() {
+  mounted() {
     this.getpublishList();
   },
   watch: {