Skip to content

Commit

Permalink
fix: always show model in TrackDlg
Browse files Browse the repository at this point in the history
  • Loading branch information
lisonge committed Nov 4, 2024
1 parent b6f43ca commit e23b320
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/components/TrackDlg.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ watchEffect(() => {
</script>
<template>
<NModal
v-if="track"
v-model:show="show"
preset="dialog"
title="选择器路径视图"
Expand All @@ -44,10 +43,12 @@ watchEffect(() => {
</svg>
</NIcon>
</template>
<div class="gkd_code py-2px px-4px rounded-2px bg-[#eee]">
{{ track.selector.toString() }}
</div>
<AsyncTrackGraph :track="track" />
<div opacity-75 text-12px>*为简化视图已隐藏部分节点</div>
<template v-if="track">
<div class="gkd_code py-2px px-4px rounded-2px bg-[#eee]">
{{ track.selector.toString() }}
</div>
<AsyncTrackGraph :track="track" />
<div opacity-75 text-12px>*为简化视图已隐藏部分节点</div>
</template>
</NModal>
</template>

0 comments on commit e23b320

Please sign in to comment.