header路由报错

This commit is contained in:
lyc 2024-09-09 09:48:28 +08:00
parent 119e07bcea
commit be187e1a2d
3 changed files with 4 additions and 5 deletions

View File

@ -28,7 +28,6 @@ import { ref } from 'vue'
const router = useRouter()
const currentRoute = ref('')
console.log( currentRoute)
watch(
() => router.currentRoute.value,

View File

@ -2,7 +2,7 @@
* 工具类-窗口-状态管理
*/
import { defineStore } from 'pinia'
import { sessionStore } from '@/utils/tool'
import { sessionStore } from '@/utils/store'
// 默认数据
const defData = sessionStore.store || {}

View File

@ -205,17 +205,17 @@ onMounted(async ()=>{
{
name: '一班',
type: 'bar',
data: [18, 24, 10, 13, 23]
data: [18, 24, 10, 13, 23, 15, 12]
},
{
name: '二班',
type: 'bar',
data: [25, 21, 14, 13, 20]
data: [25, 21, 14, 13, 20, 17,13]
},
{
name: '三班',
type: 'bar',
data: [15, 16, 16, 18, 20]
data: [15, 16, 16, 18, 20, 16, 10]
}
]
}