添加 tab 配色.

This commit is contained in:
lijiahang
2024-02-29 19:15:08 +08:00
parent d00ec130bb
commit 44dd5a9079
4 changed files with 33 additions and 4 deletions

View File

@@ -36,7 +36,7 @@ export interface HostQueryRequest extends Pagination {
/**
* 主机查询响应
*/
export interface HostQueryResponse extends TableData {
export interface HostQueryResponse extends TableData, HostQueryResponseExtra {
id: number;
name: string;
code: string;
@@ -47,9 +47,15 @@ export interface HostQueryResponse extends TableData {
updater: string;
favorite: boolean;
alias: string;
color: string;
tags: Array<{ id: number, name: string }>;
groupIdList: Array<number>;
}
/**
* 主机操作拓展
*/
export interface HostQueryResponseExtra {
editable: boolean;
loading: boolean;
modCount: number;