所有菜单的 name 都加上模块的前缀,避免冲突

This commit is contained in:
YunaiV
2023-04-08 11:49:28 +08:00
parent 04c3cdf372
commit adb8b58967
70 changed files with 97 additions and 96 deletions

View File

@@ -116,7 +116,7 @@
import { getApiAccessLogPage, exportApiAccessLogExcel } from "@/api/infra/apiAccessLog";
export default {
name: "ApiAccessLog",
name: "InfraApiAccessLog",
components: {
},
data() {

View File

@@ -123,7 +123,7 @@ import { updateApiErrorLogProcess, getApiErrorLogPage, exportApiErrorLogExcel }
import { InfraApiErrorLogProcessStatusEnum } from '@/utils/constants'
export default {
name: "ApiErrorLog",
name: "InfraApiErrorLog",
components: {
},
data() {

View File

@@ -158,6 +158,7 @@ const formConfInDB = getFormConf()
const idGlobal = getIdGlobal()
export default {
name: "InfraBuild",
components: {
draggable,
render,

View File

@@ -100,7 +100,7 @@ hljs.registerLanguage("javascript", require("highlight.js/lib/languages/javascri
hljs.registerLanguage("sql", require("highlight.js/lib/languages/sql"));
hljs.registerLanguage("typescript", require("highlight.js/lib/languages/typescript"));
export default {
name: "Codegen",
name: "InfraCodegen",
components: { importTable },
data() {
return {

View File

@@ -110,7 +110,7 @@
import { listConfig, getConfig, delConfig, addConfig, updateConfig, exportConfig } from "@/api/infra/config";
export default {
name: "Config",
name: "InfraConfig",
data() {
return {
// 遮罩层

View File

@@ -57,7 +57,7 @@
import { createDataSourceConfig, updateDataSourceConfig, deleteDataSourceConfig, getDataSourceConfig, getDataSourceConfigList } from "@/api/infra/dataSourceConfig";
export default {
name: "DataSourceConfig",
name: "InfraDataSourceConfig",
components: {
},
data() {

View File

@@ -21,7 +21,7 @@ import { exportHtml, exportWord, exportMarkdown} from "@/api/infra/dbDoc";
import iFrame from "@/components/iFrame/index";
export default {
name: "DBDoc",
name: "InfraDBDoc",
components: { iFrame },
data() {
return {

View File

@@ -92,7 +92,7 @@ import {getAccessToken} from "@/utils/auth";
import ImagePreview from "@/components/ImagePreview";
export default {
name: "File",
name: "InfraFile",
components: {
ImagePreview
},

View File

@@ -145,7 +145,7 @@ import {
} from "@/api/infra/fileConfig";
export default {
name: "FileConfig",
name: "InfraFileConfig",
components: {
},
data() {

View File

@@ -155,7 +155,7 @@ import Crontab from '@/components/Crontab'
export default {
components: { Crontab },
name: "Job",
name: "InfraJob",
data() {
return {
// 遮罩层

View File

@@ -96,7 +96,7 @@
import { getJobLogPage, exportJobLogExcel } from "@/api/infra/jobLog";
export default {
name: "JobLog",
name: "InfraJobLog",
data() {
return {
// 遮罩层

View File

@@ -73,7 +73,7 @@ import { getCache } from "@/api/infra/redis";
import * as echarts from 'echarts'
require('echarts/theme/macarons') // echarts theme
export default {
name: "Server",
name: "InfraRedis",
data () {
return {
// 统计命令信息

View File

@@ -8,7 +8,7 @@
import iFrame from "@/components/iFrame/index";
import { getConfigKey } from "@/api/infra/config";
export default {
name: "Druid",
name: "InfraAdminServer",
components: { iFrame },
data() {
return {

View File

@@ -8,7 +8,7 @@
import iFrame from "@/components/iFrame/index";
import { getConfigKey } from "@/api/infra/config";
export default {
name: "Druid",
name: "InfraSkyWalking",
components: { iFrame },
data() {
return {

View File

@@ -8,7 +8,7 @@
import iFrame from "@/components/iFrame/index";
import { getConfigKey } from "@/api/infra/config";
export default {
name: "Druid",
name: "InfraSwagger",
components: { iFrame },
data() {
return {