Commit d5ffc80e by cherishsince

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

parent 0d44b6cb
...@@ -133,8 +133,10 @@ const getPublicRole = async (append?: boolean) => { ...@@ -133,8 +133,10 @@ const getPublicRole = async (append?: boolean) => {
// 获取选中的 tabs 角色 // 获取选中的 tabs 角色
const getActiveTabsRole = async () => { const getActiveTabsRole = async () => {
if (activeRole.value === 'my-role') { if (activeRole.value === 'my-role') {
myPageNo.value = 1
await getMyRole() await getMyRole()
} else { } else {
publicPageNo.value = 1
await getPublicRole() await getPublicRole()
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment