Sfoglia il codice sorgente

feat(mesh): support name and address filtering

Casper Dai 2 anni fa
parent
commit
5f53db0047
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      src/views/external/index.vue

+ 4 - 0
src/views/external/index.vue

@@ -88,6 +88,10 @@ export default {
         buttons: [
           { type: 'add', on: this.onAdd }
         ],
+        filters: [
+          { key: 'name', type: 'search', placeholder: '名称' },
+          { key: 'address', type: 'search', placeholder: '地址' }
+        ],
         cols: [
           { prop: 'name', label: '名称' },
           { prop: 'address', label: '地址' },