Przeglądaj źródła

Merge branch 'Nov16thResetMusic' into online

wolyshaw 4 lat temu
rodzic
commit
1567f28d78
1 zmienionych plików z 13 dodań i 4 usunięć
  1. 13 4
      src/views/editionManager/editionList.vue

+ 13 - 4
src/views/editionManager/editionList.vue

@@ -60,7 +60,12 @@
                            label="描述"></el-table-column>
           <el-table-column align="center"
                            prop="downloadUrl"
-                           label="下载链接"></el-table-column>
+                           width="120"
+                           label="下载链接">
+                              <template slot-scope="scope">
+                                <overflow-text width="120px" :text="scope.row.downloadUrl"></overflow-text>
+                              </template>
+                           </el-table-column>
           <el-table-column align="center"
                            label="操作">
             <template slot-scope="scope">
@@ -217,7 +222,11 @@ export default {
     },
     getList () {
       this.searchForm.search ? this.searchForm.search : this.searchForm.search = null;
-      appVersionInfo({ search: this.searchForm.search }).then(res => {
+      appVersionInfo({
+        search: this.searchForm.search,
+        page: this.rules.page,
+        rows: this.rules.limit,
+      }).then(res => {
         if (res.code == 200) {
           this.tableList = res.data.rows;
           this.rules.total = res.data.total;
@@ -287,5 +296,5 @@ export default {
 };
 </script>
 <style lang="sass">
-    
-</style>
+
+</style>