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