소스 검색

fix(dataset): assets cannot be displayed completely

Casper Dai 3 년 전
부모
커밋
8c1541b7e7
2개의 변경된 파일5개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 3
      src/views/ad/automation/dataset/index.vue
  2. 1 1
      src/views/device/group/index.vue

+ 4 - 3
src/views/ad/automation/dataset/index.vue

@@ -26,7 +26,7 @@
       </confirm-dialog>
       <table-dialog
         ref="assetDialog"
-        size="lg fixed"
+        size="lg"
         :title="assetDialogName"
         :schema="assetSchema"
       />
@@ -103,11 +103,12 @@ export default {
         ]
       },
       assetSchema: {
+        nonPagination: true,
+        list: this.getAssetsByDataset,
+        transform: this.transformDatasetAsset,
         buttons: [
           { type: 'add', on: this.onAddAsset }
         ],
-        list: this.getAssetsByDataset,
-        transform: this.transformDatasetAsset,
         cols: [
           { prop: 'tagInfo', label: '类型', align: 'center', width: 80 },
           { prop: 'typeName', label: '文件', align: 'center', width: 80 },

+ 1 - 1
src/views/device/group/index.vue

@@ -35,7 +35,7 @@
     </confirm-dialog>
     <table-dialog
       ref="subDeviceDialog"
-      size="lg fixed"
+      size="lg"
       :title="groupName"
       :schema="subDeviceSchema"
     />