feat:添加升级逻辑

This commit is contained in:
zyronon
2025-08-02 00:38:36 +08:00
parent 3426807912
commit 4c6044411f
7 changed files with 233 additions and 115513 deletions

19
src/global.d.ts vendored Normal file
View File

@@ -0,0 +1,19 @@
import {cloneDeep} from "lodash-es"
export {}
declare global {
interface Console {
json(v: any): void
}
interface Console {
parse(v: any): void
}
}
console.json = function (v: any) {
console.log(cloneDeep(v))
}
console.parse = function (v: any) {
console.log(JSON.parse(v))
}