update code

main
lijun 2024-10-18 20:11:09 +08:00
parent ac94965045
commit 27b205b83d
3 changed files with 2 additions and 31 deletions

View File

@ -20,7 +20,6 @@
<script type="module" src="/src/main.ts"></script>
<style>
html,
body,
#app {
position: relative;

View File

@ -8,34 +8,6 @@ class MenuAPI {
static getRoutes() {
return new Promise((resolve) => {
resolve([
{
path: "/home",
component: "Layout",
redirect: "/home/index2",
name: "/index2",
meta: {
title: "数据总览2",
icon: "homepage",
hidden: false,
roles: ["GUEST", "ADMIN", "ADMIN6"],
alwaysShow: false,
},
children: [
{
path: "index2",
component: "dashboard/index2",
name: "dashboardIndex2",
meta: {
title: "模型管理",
icon: "user",
hidden: true,
roles: ["ADMIN", "GUEST"],
keepAlive: true,
alwaysShow: false,
},
},
],
},
{
path: "/modelMgr",
component: "Layout",

View File

@ -518,7 +518,7 @@ function renderChart1(data, type) {
type: it.type,
data: it.data,
label: {
show: true,
show: false,
position: 'top'
}
}