瀏覽代碼

feat(types): 修改IModifyInfo的modifiedVal

LuoHaoxuan 3 年之前
父節點
當前提交
ab6d7939a3
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      types/src/interface/processLog.ts

+ 5 - 1
types/src/interface/processLog.ts

@@ -20,10 +20,14 @@ export interface IModifyUser {
   ID: string;
   name: string;
 }
+export interface IModifiedVal {
+  label: string; // 名称
+  value: string; // 名称对应的值
+}
 export interface IModifyInfo {
   type: OperateType; // 操作类型
   operateTarget: string; // 操作内容
-  modifiedVal?: string; // 修改后的值
+  modifiedVal?: IModifiedVal; // 修改后的值
   remark?: string; // 备注,需要的信息可以存在这
 }
 export interface ILogItem {