fix(preview-download): declare remote service dependency
This commit is contained in:
@@ -60,7 +60,7 @@ window.__ModuleLoader__.load({ id: 'dsh-preview-download', factory: require => {
|
||||
}
|
||||
|
||||
return {
|
||||
inject: ['slots', 'locale', 'remote.workspaceFiles'],
|
||||
inject: ['slots', 'locale', 'remote', 'remote.workspaceFiles'],
|
||||
apply(ctx) {
|
||||
ctx.effect(() => ctx.locale.register(namespace, {
|
||||
zh: { download: '下载原文件', loading: '下载中…', failed: '下载失败,请检查文件权限或重试。', tooLarge: '文件超过下载大小限制。' },
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "dsh-preview-download",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"main": "index.js",
|
||||
|
||||
Reference in New Issue
Block a user