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
|
prefer-workspace-packages=true
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
link-workspace-packages=true
|
link-workspace-packages=deep
|
||||||
prefer-workspace-packages=true
|
prefer-workspace-packages=true
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
link-workspace-packages=true
|
link-workspace-packages=deep
|
||||||
prefer-workspace-packages=true
|
prefer-workspace-packages=true
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
link-workspace-packages=true
|
link-workspace-packages=deep
|
||||||
prefer-workspace-packages=true
|
prefer-workspace-packages=true
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
link-workspace-packages=true
|
link-workspace-packages=deep
|
||||||
prefer-workspace-packages=true
|
prefer-workspace-packages=true
|
||||||
|
|
|
@ -140,7 +140,7 @@ async function onLoaded(pipeline: PipelineDetail) {
|
||||||
}
|
}
|
||||||
const res = await api.GetCount();
|
const res = await api.GetCount();
|
||||||
LocalStorage.set("pipeline-count", res.count);
|
LocalStorage.set("pipeline-count", res.count);
|
||||||
if (res.count <= 1) {
|
if (res.count <= 1 && editMode.value === true) {
|
||||||
await nextTick();
|
await nextTick();
|
||||||
tourHandleOpen(true);
|
tourHandleOpen(true);
|
||||||
}
|
}
|
||||||
|
|
|
@ -304,7 +304,6 @@ export default defineComponent({
|
||||||
}
|
}
|
||||||
|
|
||||||
const loadCurrentHistoryDetail = async () => {
|
const loadCurrentHistoryDetail = async () => {
|
||||||
console.log("load history logs");
|
|
||||||
const detail: RunHistory = await props.options?.getHistoryDetail({ historyId: currentHistory.value.id });
|
const detail: RunHistory = await props.options?.getHistoryDetail({ historyId: currentHistory.value.id });
|
||||||
currentHistory.value.logs = detail.logs;
|
currentHistory.value.logs = detail.logs;
|
||||||
_.merge(currentHistory.value.pipeline, detail.pipeline);
|
_.merge(currentHistory.value.pipeline, detail.pipeline);
|
||||||
|
@ -329,7 +328,6 @@ export default defineComponent({
|
||||||
if (reload) {
|
if (reload) {
|
||||||
histories.value = [];
|
histories.value = [];
|
||||||
}
|
}
|
||||||
console.log("load history list");
|
|
||||||
const historyList = await props.options.getHistoryList({ pipelineId: pipeline.value.id });
|
const historyList = await props.options.getHistoryList({ pipelineId: pipeline.value.id });
|
||||||
if (!historyList) {
|
if (!historyList) {
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
link-workspace-packages=true
|
link-workspace-packages=deep
|
||||||
prefer-workspace-packages=true
|
prefer-workspace-packages=true
|
||||||
|
|
Loading…
Reference in New Issue