|
@@ -30,6 +30,12 @@ onMounted(async () => {
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
function handleDetail(item: any) {
|
|
function handleDetail(item: any) {
|
|
|
|
|
+ if (user.token === 'Basic ZW5kOmVuZA==') {
|
|
|
|
|
+ router.push({
|
|
|
|
|
+ path: "/pages/user/login",
|
|
|
|
|
+ });
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
router.push({
|
|
router.push({
|
|
|
path: "/pages/practice/detail",
|
|
path: "/pages/practice/detail",
|
|
|
query: {
|
|
query: {
|