refactor(system): 修改用户关联租户列表获取方式
- 将 gettenantList 函数的第二个参数从 0 修改为 2,
This commit is contained in:
parent
ef7327438e
commit
b879f9985d
@ -109,7 +109,7 @@ const getList = async () => {
|
|||||||
const userId = route.params && route.params.userId;
|
const userId = route.params && route.params.userId;
|
||||||
if (userId) {
|
if (userId) {
|
||||||
loading.value = true;
|
loading.value = true;
|
||||||
const res = await gettenantList(userId as string, 0, params.value);
|
const res = await gettenantList(userId as string, 2, params.value);
|
||||||
console.log(res.data);
|
console.log(res.data);
|
||||||
roles.value = res.data.records;
|
roles.value = res.data.records;
|
||||||
total.value = res.data.total;
|
total.value = res.data.total;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user