mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-06-02 01:19:37 +08:00
🔨 Refactor: most config handle by picgo-core
for config syncing with picgo-core && picgo-plugins
This commit is contained in:
@@ -59,7 +59,7 @@ class DB {
|
||||
return this.read().get(key).insert(value).write()
|
||||
}
|
||||
unset (key: string, value: any): boolean {
|
||||
return this.read().get(key).unset(value).write()
|
||||
return this.read().get(key).unset(value).value()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
1
src/universal/types/extra-vue.d.ts
vendored
1
src/universal/types/extra-vue.d.ts
vendored
@@ -8,5 +8,6 @@ declare module 'vue/types/vue' {
|
||||
$db: typeof db
|
||||
$http: typeof axios
|
||||
$builtInPicBed: string[]
|
||||
letPicGoSaveData(data: IObj): void
|
||||
}
|
||||
}
|
||||
|
||||
2
src/universal/types/types.d.ts
vendored
2
src/universal/types/types.d.ts
vendored
@@ -162,7 +162,7 @@ interface IShowInputBoxOption {
|
||||
|
||||
type IShowFileExplorerOption = IObj
|
||||
|
||||
type IUploadOption = undefined | string[]
|
||||
type IUploadOption = string[]
|
||||
|
||||
interface IShowNotificationOption {
|
||||
title: string
|
||||
|
||||
Reference in New Issue
Block a user