删除了git当前显示
This commit is contained in:
@@ -181,14 +181,6 @@ export class ConfigView extends BaseView {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="margin-bottom: 20px;">
|
||||
${currentGitRepo ? `
|
||||
<div style="background: var(--vscode-badge-background); padding: 10px; border-radius: 4px; margin-bottom: 15px;">
|
||||
<strong>当前仓库:</strong> ${currentGitRepo.name} (${currentGitRepo.url})
|
||||
<button class="btn-sync" onclick="syncGitRepo('${currentGitRepo.id}')" style="background: var(--vscode-button-background); color: var(--vscode-button-foreground); border: none; padding: 6px 12px; border-radius: 4px; cursor: pointer; margin-left: 10px;">同步</button>
|
||||
</div>
|
||||
` : ''}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
@@ -526,12 +518,11 @@ export class ConfigView extends BaseView {
|
||||
html += (branch.isRemote ? '(远程)' : '(本地)') + '</label></div>';
|
||||
});
|
||||
|
||||
html += '</div>';
|
||||
html += '<div style="margin-top: 15px;">';
|
||||
html += '<div style="margin-top: 15px;">';
|
||||
html += '<button class="btn-new" onclick="cloneSelectedBranches()" style="margin-right: 10px;">✅ 克隆选中分支</button>';
|
||||
html += '<button class="back-btn" onclick="cancelBranchSelection()">取消</button>';
|
||||
html += '</div></div>';
|
||||
|
||||
return html;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user