打包相关问题修复

This commit is contained in:
付民康
2025-03-13 19:11:24 +08:00
parent cbbc5f4ee5
commit 214272f011
6 changed files with 7 additions and 5 deletions

View File

@@ -7,14 +7,12 @@ import dashboardRouter from './config/dashboard';
import noticeRouter from './config/notice';
import accountRouter from './config/account';
import errorRouter from './config/error';
import onLineEditor from './config/editor';
export { injectRouter } from './interceptor';
export const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
routes: [
...onLineEditor,
...homeRouter,
...accountRouter,
...dashboardRouter,

View File

@@ -8,7 +8,6 @@
<script lang="ts" setup>
import { ref, watch } from 'vue';
import { useRoute } from 'vue-router';
import IssueFilterList from '@/views/Repo/components/IssueFilterList/index.vue';
const route = useRoute();
const table = ref();
const scope = ref('');

View File

@@ -5,7 +5,6 @@
defineOptions({ name: 'MY-MR' });
import { watch, ref } from 'vue';
import { useRoute } from 'vue-router';
import MergreFilterList from '@/views/Repo/components/MergeFilterList/index.vue';
const scope = ref('');
const route = useRoute();

View File

@@ -29,7 +29,6 @@
<script setup lang="ts">
defineOptions({ name: 'IssueList' });
import IssueFilterList from '@/views/Mobile/Repo/components/IssueFilterList/index.vue';
import PinList from './components/PinList.vue';
import { useRepoId } from '@/utils/hooks/useRepoId';
const { repoId } = useRepoId();