mirror of
https://github.com/ecomfe/vue-echarts.git
synced 2025-10-28 23:48:21 +08:00
feat: add smart update
This commit is contained in:
@ -38,3 +38,7 @@ export function isSameSet<T>(a: T[], b: T[]): boolean {
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
export function isPlainObject(v: unknown): v is Record<string, unknown> {
|
||||
return v != null && typeof v === "object" && !Array.isArray(v);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user