浏览代码

fix import DSL install Github plugin failed (#16362)

tags/1.1.2
Junjie.M 7 个月前
父节点
当前提交
e324e59930
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      web/service/use-plugins.ts

+ 2
- 1
web/service/use-plugins.ts 查看文件

@@ -187,7 +187,8 @@ export const useInstallOrUpdate = ({
if (item.type === 'github') {
const data = item as GitHubItemAndMarketPlaceDependency
// From local bundle don't have data.value.github_plugin_unique_identifier
if (!data.value.github_plugin_unique_identifier) {
uniqueIdentifier = data.value.github_plugin_unique_identifier!
if (!uniqueIdentifier) {
const { unique_identifier } = await post<uploadGitHubResponse>('/workspaces/current/plugin/upload/github', {
body: {
repo: data.value.repo!,

正在加载...
取消
保存