lyc-dev #177
|
@ -28,7 +28,6 @@ import { ref } from 'vue'
|
||||||
|
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
const currentRoute = ref('')
|
const currentRoute = ref('')
|
||||||
console.log( currentRoute)
|
|
||||||
|
|
||||||
watch(
|
watch(
|
||||||
() => router.currentRoute.value,
|
() => router.currentRoute.value,
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* 工具类-窗口-状态管理
|
* 工具类-窗口-状态管理
|
||||||
*/
|
*/
|
||||||
import { defineStore } from 'pinia'
|
import { defineStore } from 'pinia'
|
||||||
import { sessionStore } from '@/utils/tool'
|
import { sessionStore } from '@/utils/store'
|
||||||
|
|
||||||
// 默认数据
|
// 默认数据
|
||||||
const defData = sessionStore.store || {}
|
const defData = sessionStore.store || {}
|
||||||
|
|
|
@ -205,17 +205,17 @@ onMounted(async ()=>{
|
||||||
{
|
{
|
||||||
name: '一班',
|
name: '一班',
|
||||||
type: 'bar',
|
type: 'bar',
|
||||||
data: [18, 24, 10, 13, 23]
|
data: [18, 24, 10, 13, 23, 15, 12]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: '二班',
|
name: '二班',
|
||||||
type: 'bar',
|
type: 'bar',
|
||||||
data: [25, 21, 14, 13, 20]
|
data: [25, 21, 14, 13, 20, 17,13]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: '三班',
|
name: '三班',
|
||||||
type: 'bar',
|
type: 'bar',
|
||||||
data: [15, 16, 16, 18, 20]
|
data: [15, 16, 16, 18, 20, 16, 10]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue