mirror of https://github.com/certd/certd
perf: 新手导航在非编辑模式下不显示
parent
989f48c47a
commit
18bfcc24ad
2
.npmrc
2
.npmrc
|
@ -1,2 +1,2 @@
|
|||
link-workspace-packages=true
|
||||
link-workspace-packages=deep
|
||||
prefer-workspace-packages=true
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
link-workspace-packages=true
|
||||
link-workspace-packages=deep
|
||||
prefer-workspace-packages=true
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
link-workspace-packages=true
|
||||
link-workspace-packages=deep
|
||||
prefer-workspace-packages=true
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
link-workspace-packages=true
|
||||
link-workspace-packages=deep
|
||||
prefer-workspace-packages=true
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
link-workspace-packages=true
|
||||
link-workspace-packages=deep
|
||||
prefer-workspace-packages=true
|
||||
|
|
|
@ -140,7 +140,7 @@ async function onLoaded(pipeline: PipelineDetail) {
|
|||
}
|
||||
const res = await api.GetCount();
|
||||
LocalStorage.set("pipeline-count", res.count);
|
||||
if (res.count <= 1) {
|
||||
if (res.count <= 1 && editMode.value === true) {
|
||||
await nextTick();
|
||||
tourHandleOpen(true);
|
||||
}
|
||||
|
|
|
@ -304,7 +304,6 @@ export default defineComponent({
|
|||
}
|
||||
|
||||
const loadCurrentHistoryDetail = async () => {
|
||||
console.log("load history logs");
|
||||
const detail: RunHistory = await props.options?.getHistoryDetail({ historyId: currentHistory.value.id });
|
||||
currentHistory.value.logs = detail.logs;
|
||||
_.merge(currentHistory.value.pipeline, detail.pipeline);
|
||||
|
@ -329,7 +328,6 @@ export default defineComponent({
|
|||
if (reload) {
|
||||
histories.value = [];
|
||||
}
|
||||
console.log("load history list");
|
||||
const historyList = await props.options.getHistoryList({ pipelineId: pipeline.value.id });
|
||||
if (!historyList) {
|
||||
return;
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
link-workspace-packages=true
|
||||
link-workspace-packages=deep
|
||||
prefer-workspace-packages=true
|
||||
|
|
Loading…
Reference in New Issue