header路由报错
This commit is contained in:
parent
119e07bcea
commit
be187e1a2d
|
@ -28,7 +28,6 @@ import { ref } from 'vue'
|
|||
|
||||
const router = useRouter()
|
||||
const currentRoute = ref('')
|
||||
console.log( currentRoute)
|
||||
|
||||
watch(
|
||||
() => router.currentRoute.value,
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* 工具类-窗口-状态管理
|
||||
*/
|
||||
import { defineStore } from 'pinia'
|
||||
import { sessionStore } from '@/utils/tool'
|
||||
import { sessionStore } from '@/utils/store'
|
||||
|
||||
// 默认数据
|
||||
const defData = sessionStore.store || {}
|
||||
|
|
|
@ -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]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue