【增加】Ai 角色搜索,重置分页,不然会搜索不到

This commit is contained in:
cherishsince committed 2024-05-17 15:35:13 +08:00
1 parent 0d44b6cb37
commit d5ffc80ea5
1 file changed
+2
+2
View File
@@ -133,8 +133,10 @@ const getPublicRole = async (append?: boolean) => {
// 获取选中的 tabs 角色
const getActiveTabsRole = async () => {
if (activeRole.value === 'my-role') {
myPageNo.value = 1
await getMyRole()
} else {
publicPageNo.value = 1
await getPublicRole()
}
}