mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 14:57:16 +08:00
fix: PHP84 管理页
This commit is contained in:
11
web/src/views/apps/php84/IndexView.vue
Normal file
11
web/src/views/apps/php84/IndexView.vue
Normal file
@@ -0,0 +1,11 @@
|
||||
<script setup lang="ts">
|
||||
import PhpView from '@/views/apps/php/PhpView.vue'
|
||||
|
||||
defineOptions({
|
||||
name: 'apps-php84-index'
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<php-view :version="84" />
|
||||
</template>
|
||||
23
web/src/views/apps/php84/route.ts
Normal file
23
web/src/views/apps/php84/route.ts
Normal file
@@ -0,0 +1,23 @@
|
||||
import type { RouteType } from '~/types/router'
|
||||
|
||||
const Layout = () => import('@/layout/IndexView.vue')
|
||||
|
||||
export default {
|
||||
name: 'php84',
|
||||
path: '/apps/php84',
|
||||
component: Layout,
|
||||
isHidden: true,
|
||||
children: [
|
||||
{
|
||||
name: 'apps-php84-index',
|
||||
path: '',
|
||||
component: () => import('./IndexView.vue'),
|
||||
meta: {
|
||||
title: 'PHP 8.4',
|
||||
icon: 'logos:php',
|
||||
role: ['admin'],
|
||||
requireAuth: true
|
||||
}
|
||||
}
|
||||
]
|
||||
} as RouteType
|
||||
Reference in New Issue
Block a user