This commit is contained in:
@@ -12,7 +12,7 @@ const routes = [
|
||||
component: HomeView,
|
||||
},
|
||||
{
|
||||
path: '/admin',
|
||||
path: '/haha',
|
||||
name: "Admin",
|
||||
component: AdminView,
|
||||
children: [
|
||||
|
@@ -151,7 +151,7 @@ const deleteToken = (row: any) => {
|
||||
|
||||
const inputPassWord = ref('')
|
||||
const checkPassword = () => {
|
||||
if (inputPassWord.value == "admin") {
|
||||
if (inputPassWord.value == "haha") {
|
||||
ElMessage({
|
||||
message: '密码正确',
|
||||
type: 'success',
|
||||
|
Reference in New Issue
Block a user