[mod]适配分页返回数据放入data中返回
This commit is contained in:
@@ -133,7 +133,7 @@ const getAuths = async () => {
|
||||
};
|
||||
const getOnlines = async () => {
|
||||
const res = await getOnline();
|
||||
state.value.devices = res.rows;
|
||||
state.value.devices = res.data?.rows;
|
||||
};
|
||||
|
||||
onMounted(() => {
|
||||
|
||||
Reference in New Issue
Block a user