Open yearyeardiff opened 5 years ago
场景: 如下页面: 当我输入:zch时,筛选失败,如下: 表格报文格式:
{ "code": 200, "data": [ { "id": 5, "name": "giraffe-client-user-case", "remark": null, "envs": [ { "id": 1, "name": "dev", "registryAddress": "http://10.t.tt.t:7001/eureka,http://10.t.t.t:7001/eureka", "configServerName": "giraffe-config-server-dev", "contextPath": "" } ], "labels": [ { "id": 5, "name": "master" } ], "group": { "id": 1, "code": "ARCHITECTURE_DEV", "groupName": "架构开发组", "groupOwner": "tt", "ownerEmail": null, "ownerMobile": null } }, { "id": 22, "name": "giraffe-admin-server", "remark": "", "envs": [ { "id": 1, "name": "dev", "registryAddress": "http://10.t.tt.t:7001/eureka,http://10.t.tt.t:7001/eureka", "configServerName": "giraffe-config-server-dev", "contextPath": "" }, { "id": 2, "name": "zch", "registryAddress": "http://10.t.ttt.t:7001/eureka,http://10.t.ttt.t:7001/eureka", "configServerName": "giraffe-config-server-zch", "contextPath": "" } ], "labels": [ { "id": 27, "name": "master" } ], "group": { "id": 1, "code": "ARCHITECTURE_DEV", "groupName": "架构开发组", "groupOwner": "tt", "ownerEmail": null, "ownerMobile": null } } ] }
https://github.com/stone-jin/spring-cloud-config-admin-web/blob/5bf826680cd343f4d447329b43af47b3078edbb4/src/js/framework/components/general/datatable/datatable.js#L2533
改成如下即可:
场景: 如下页面: 当我输入:zch时,筛选失败,如下: 表格报文格式: