mirror of
https://github.com/rubickCenter/rubick
synced 2025-12-24 03:00:09 +08:00
ref: plugin 支持 type over
This commit is contained in:
@@ -173,8 +173,7 @@ window.utools = window.rubick = {
|
||||
},
|
||||
get(key) {
|
||||
const dbData = getData(dbPath) || [];
|
||||
|
||||
return dbData.find(d => d._id === key);
|
||||
return dbData.find(d => d._id === key) || '';
|
||||
},
|
||||
remove(key) {
|
||||
key = typeof key === 'object' ? key._id : key;
|
||||
|
||||
Reference in New Issue
Block a user