@michengai/dsh-skills-manager 0.1.19 → 0.1.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/README.zh-CN.md +1 -1
- package/lib/client.js +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -115,7 +115,7 @@ dsh plugin --profile web add @michengai/dsh-skills-manager@latest --registry=htt
|
|
|
115
115
|
dsh --profile web --dump-config
|
|
116
116
|
```
|
|
117
117
|
|
|
118
|
-
To pin a release, replace `@latest` with a version such as `@0.1.
|
|
118
|
+
To pin a release, replace `@latest` with a version such as `@0.1.20`.
|
|
119
119
|
|
|
120
120
|
The configuration output should contain `skills-manager`. Restart DSH Web and hard-refresh the browser. Do not copy client files manually: `dsh plugin add` also applies `cordis.patch.yml`.
|
|
121
121
|
|
package/README.zh-CN.md
CHANGED
|
@@ -115,7 +115,7 @@ dsh plugin --profile web add @michengai/dsh-skills-manager@latest --registry=htt
|
|
|
115
115
|
dsh --profile web --dump-config
|
|
116
116
|
```
|
|
117
117
|
|
|
118
|
-
需要钉死某一版时,把 `@latest` 换成具体版本,例如 `@0.1.
|
|
118
|
+
需要钉死某一版时,把 `@latest` 换成具体版本,例如 `@0.1.20`。
|
|
119
119
|
|
|
120
120
|
配置输出中应包含 `skills-manager`。安装后重启 DSH Web 并在浏览器硬刷新。不要手工复制客户端文件,`dsh plugin add` 会同时应用 `cordis.patch.yml`。
|
|
121
121
|
|
package/lib/client.js
CHANGED
|
@@ -592,6 +592,7 @@ window.__ModuleLoader__.load({
|
|
|
592
592
|
}).catch(function (error) {
|
|
593
593
|
inflightRef.current = false;
|
|
594
594
|
setBusy(null);
|
|
595
|
+
setUploadOpen(false);
|
|
595
596
|
setImportResult({ error: error });
|
|
596
597
|
});
|
|
597
598
|
}
|
|
@@ -706,7 +707,7 @@ window.__ModuleLoader__.load({
|
|
|
706
707
|
function isUploadPickerError(result) {
|
|
707
708
|
return !!(result && typeof result.code === "string" && (result.code.indexOf("select.") === 0 || result.code.indexOf("dir.") === 0));
|
|
708
709
|
}
|
|
709
|
-
if (importResult && !isUploadPickerError(importResult)) {
|
|
710
|
+
if (importResult && !uploadOpen && !isUploadPickerError(importResult)) {
|
|
710
711
|
var nameSeparator = t("sep.names");
|
|
711
712
|
var errorSeparator = t("sep.errors");
|
|
712
713
|
// 错误形态:业务/协议错误带 code,或 host 失败带 error(Error 对象);结果形态只有 imported/failed/skipped。
|
package/package.json
CHANGED