【增加】Ai 角色搜索,重置分页,不然会搜索不到
This commit is contained in:
parent
0d44b6cb37
commit
d5ffc80ea5
@ -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()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user