Improve getTags()

This commit is contained in:
Yang Luo
2023-04-09 14:47:08 +08:00
parent b7d78d1e27
commit 30ea3a1335
3 changed files with 20 additions and 10 deletions

View File

@ -130,7 +130,7 @@ class RoleListPage extends BaseListPage {
sorter: true,
...this.getColumnSearchProps("users"),
render: (text, record, index) => {
return Setting.getTags(text);
return Setting.getTags(text, "users");
},
},
{
@ -141,7 +141,7 @@ class RoleListPage extends BaseListPage {
sorter: true,
...this.getColumnSearchProps("roles"),
render: (text, record, index) => {
return Setting.getTags(text);
return Setting.getTags(text, "roles");
},
},
{