diff --git a/src/App.vue b/src/App.vue index 71d1d6b..4c561a0 100644 --- a/src/App.vue +++ b/src/App.vue @@ -2,26 +2,35 @@ import { dateZhCN, zhCN } from 'naive-ui'; import { RouterView } from 'vue-router'; import ErrorDlg from './components/ErrorDlg.vue'; +import { ScrollbarWrapper } from './utils/others'; diff --git a/src/components/TrackDlg.vue b/src/components/TrackDlg.vue index d5808d1..a839a51 100644 --- a/src/components/TrackDlg.vue +++ b/src/components/TrackDlg.vue @@ -30,7 +30,7 @@ watchEffect(() => { v-model:show="show" preset="dialog" title="选择器路径视图" - class="min-w-[calc(var(--gkd-width)*0.4)]" + class="min-w-[calc(var(--gkd-w)*0.4)]" @afterLeave="onUpdateTrack()" >