fix(plugins): 暂时回退提示词插件到稳定版 1.4.10(1.5.0 点击详情回归待修复)
This commit is contained in:
1 parent
a46d874d33
commit
5ccc6c879e
5 files changed
+68
-475
No files matched your search
@@ -8240,12 +8240,6 @@ const tbCenterSeed = (type, refs) => {
|
||||
putCover: (u) => wPromptCoverCtl().put(u),
|
||||
coverUrl: (r) => wPromptCoverCtl().url(r),
|
||||
removeCover: () => ({ ok: true }),
|
||||
// v3.26.36:封面/备份文件走插件沙箱目录 plugin-data/promptlib/files
|
||||
filePut: (name, dataUrl) => (window.IWBStorageFile && window.IWBStorageFile.pluginFiles) ? window.IWBStorageFile.pluginFiles.put('promptlib', name, dataUrl) : { ok: false, error: '文件能力未就绪' },
|
||||
fileGet: (name) => (window.IWBStorageFile && window.IWBStorageFile.pluginFiles) ? window.IWBStorageFile.pluginFiles.get('promptlib', name) : { ok: false, error: '文件能力未就绪' },
|
||||
fileList: () => (window.IWBStorageFile && window.IWBStorageFile.pluginFiles) ? window.IWBStorageFile.pluginFiles.list('promptlib') : [],
|
||||
fileRemove: (name) => (window.IWBStorageFile && window.IWBStorageFile.pluginFiles) ? window.IWBStorageFile.pluginFiles.remove('promptlib', name) : { ok: false },
|
||||
fileStat: () => (window.IWBStorageFile && window.IWBStorageFile.pluginFiles) ? window.IWBStorageFile.pluginFiles.stat('promptlib') : { ok: false, files: [], bytes: 0 },
|
||||
})
|
||||
}
|
||||
if (window.IWBPluginGallery) window.IWBPluginGallery.setImpl({
|
||||
|
||||
Reference in new issue
Block a user