From 0e025c01be2ba8c5a0f92be2c7453c6ea6f1f37c Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期四, 20 六月 2024 15:19:10 +0800
Subject: [PATCH] feat:考试列表测试数据
---
src/views/menu/index.vue | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/views/menu/index.vue b/src/views/menu/index.vue
index 4ff1669..d58cd51 100644
--- a/src/views/menu/index.vue
+++ b/src/views/menu/index.vue
@@ -25,7 +25,7 @@
<script setup>
import { ref } from 'vue';
-import {useRouter} from 'vue-router';
+import { useRouter } from 'vue-router';
const router = useRouter();
@@ -34,10 +34,10 @@
name: '璇剧▼',
categroy: [
{
- title: '鎴戠殑璇剧▼',
- iconPath: new URL('@/assets/icons/icon1.png', import.meta.url).href,
- path: '/exam-list'
- },
+ title: '鍦ㄧ嚎鍩硅',
+ iconPath: new URL('@/assets/icons/icon2.png', import.meta.url).href,
+ path: '/train'
+ }
]
},
{
@@ -58,10 +58,10 @@
]);
const menuClick = (item) => {
- if(item.path) {
+ if (item.path) {
router.push(item.path);
}
-}
+};
</script>
<style lang="scss" scoped>
--
Gitblit v1.8.0