update code
parent
ac94965045
commit
27b205b83d
|
@ -20,7 +20,6 @@
|
||||||
<script type="module" src="/src/main.ts"></script>
|
<script type="module" src="/src/main.ts"></script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
html,
|
|
||||||
body,
|
body,
|
||||||
#app {
|
#app {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
|
@ -7,35 +7,7 @@ class MenuAPI {
|
||||||
*/
|
*/
|
||||||
static getRoutes() {
|
static getRoutes() {
|
||||||
return new Promise((resolve) => {
|
return new Promise((resolve) => {
|
||||||
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",
|
path: "/modelMgr",
|
||||||
component: "Layout",
|
component: "Layout",
|
||||||
|
|
|
@ -518,7 +518,7 @@ function renderChart1(data, type) {
|
||||||
type: it.type,
|
type: it.type,
|
||||||
data: it.data,
|
data: it.data,
|
||||||
label: {
|
label: {
|
||||||
show: true,
|
show: false,
|
||||||
position: 'top'
|
position: 'top'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue