fix: 运行状态修改
This commit is contained in:
parent
89458dbf96
commit
a02e4efa51
|
@ -251,6 +251,7 @@ const subscribeProperty = () => {
|
|||
};
|
||||
|
||||
const getDashboard = async () => {
|
||||
if(!dataSource.value?.length) return
|
||||
const param = [
|
||||
{
|
||||
dashboard: 'device',
|
||||
|
@ -302,9 +303,10 @@ const query = (params: Record<string, any>) =>
|
|||
});
|
||||
arr = _.cloneDeep(li);
|
||||
}
|
||||
dataSource.value = arr.slice(_from, _to)
|
||||
resolve({
|
||||
result: {
|
||||
data: arr.slice(_from, _to),
|
||||
data: dataSource.value,
|
||||
pageIndex: params.pageIndex || 0,
|
||||
pageSize: params.pageSize || 12,
|
||||
total: arr.length,
|
||||
|
|
|
@ -274,7 +274,7 @@ const getUser = async (_source: string, _triggerType: string) => {
|
|||
children: relationResp.result.map((item: any) => {
|
||||
const obj = {
|
||||
...item,
|
||||
value: item.id,
|
||||
value: item.relation,
|
||||
key: item.id,
|
||||
title: item.name,
|
||||
isRelation: true,
|
||||
|
|
Loading…
Reference in New Issue