Explorar el Código

feat(mesh): support name and address filtering

Casper Dai hace 2 años
padre
commit
5f53db0047
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  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: '地址' },