diff --git a/.env.development b/.env.development
index 6971c8b..90ffbff 100644
--- a/.env.development
+++ b/.env.development
@@ -1,5 +1,6 @@
# 页面标题
VITE_APP_TITLE = 计量信息系统
+VITE_SYS_TITLE = 受检设备管理系统
# 接口请求地址,会设置到 axios 的 baseURL 参数上
# VITE_APP_API_BASEURL = http://139.198.29.133:8089
# VITE_APP_API_BASEURL = http://111.198.10.15:21611
diff --git a/.env.production b/.env.production
index c9ea810..36e6ad3 100644
--- a/.env.production
+++ b/.env.production
@@ -2,6 +2,7 @@
# 页面标题
VITE_APP_TITLE = 计量信息系统
+VITE_SYS_TITLE = 受检设备管理系统
# 接口请求地址,会设置到 axios 的 baseURL 参数上
VITE_APP_API_BASEURL = http://111.198.10.15:21611
# 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空
diff --git a/src/layouts/components/Breadcrumb/index.vue b/src/layouts/components/Breadcrumb/index.vue
deleted file mode 100644
index 5ad9ab3..0000000
--- a/src/layouts/components/Breadcrumb/index.vue
+++ /dev/null
@@ -1,176 +0,0 @@
-
-
-
-
-
diff --git a/src/layouts/components/Header/index.vue b/src/layouts/components/Header/index.vue
index 6125aa5..88abc48 100644
--- a/src/layouts/components/Header/index.vue
+++ b/src/layouts/components/Header/index.vue
@@ -29,7 +29,7 @@
diff --git a/src/layouts/components/Logo/index.vue b/src/layouts/components/Logo/index.vue
index 9633d89..0c1483f 100644
--- a/src/layouts/components/Logo/index.vue
+++ b/src/layouts/components/Logo/index.vue
@@ -5,7 +5,7 @@
defineProps({
showLogo: {
type: Boolean,
- default: false,
+ default: true,
},
showTitle: {
type: Boolean,
@@ -15,8 +15,7 @@
const settingsStore = useSettingsStore()
-// const title = ref(import.meta.env.VITE_APP_TITLE)
-const title = JSON.parse(localStorage.getItem('currentSys') as string).name
+const title = ref(import.meta.env.VITE_SYS_TITLE)
const logo = ref(imgLogo)
const to = computed(() => {
@@ -32,7 +31,7 @@
-
+
{{ title }}
diff --git a/.env.development b/.env.development
index 6971c8b..90ffbff 100644
--- a/.env.development
+++ b/.env.development
@@ -1,5 +1,6 @@
# 页面标题
VITE_APP_TITLE = 计量信息系统
+VITE_SYS_TITLE = 受检设备管理系统
# 接口请求地址,会设置到 axios 的 baseURL 参数上
# VITE_APP_API_BASEURL = http://139.198.29.133:8089
# VITE_APP_API_BASEURL = http://111.198.10.15:21611
diff --git a/.env.production b/.env.production
index c9ea810..36e6ad3 100644
--- a/.env.production
+++ b/.env.production
@@ -2,6 +2,7 @@
# 页面标题
VITE_APP_TITLE = 计量信息系统
+VITE_SYS_TITLE = 受检设备管理系统
# 接口请求地址,会设置到 axios 的 baseURL 参数上
VITE_APP_API_BASEURL = http://111.198.10.15:21611
# 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空
diff --git a/src/layouts/components/Breadcrumb/index.vue b/src/layouts/components/Breadcrumb/index.vue
deleted file mode 100644
index 5ad9ab3..0000000
--- a/src/layouts/components/Breadcrumb/index.vue
+++ /dev/null
@@ -1,176 +0,0 @@
-
-
-
-
-
-
-
-
-
-
- {{ item.title }}
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/layouts/components/Header/index.vue b/src/layouts/components/Header/index.vue
index 6125aa5..88abc48 100644
--- a/src/layouts/components/Header/index.vue
+++ b/src/layouts/components/Header/index.vue
@@ -29,7 +29,7 @@
-
+
diff --git a/src/layouts/components/Logo/index.vue b/src/layouts/components/Logo/index.vue
index 9633d89..0c1483f 100644
--- a/src/layouts/components/Logo/index.vue
+++ b/src/layouts/components/Logo/index.vue
@@ -5,7 +5,7 @@
defineProps({
showLogo: {
type: Boolean,
- default: false,
+ default: true,
},
showTitle: {
type: Boolean,
@@ -15,8 +15,7 @@
const settingsStore = useSettingsStore()
-// const title = ref(import.meta.env.VITE_APP_TITLE)
-const title = JSON.parse(localStorage.getItem('currentSys') as string).name
+const title = ref(import.meta.env.VITE_SYS_TITLE)
const logo = ref(imgLogo)
const to = computed(() => {
@@ -32,7 +31,7 @@
-
+
{{ title }}
diff --git a/src/layouts/components/SidebarItem/index.vue b/src/layouts/components/SidebarItem/index.vue
index c08cd89..86639ea 100644
--- a/src/layouts/components/SidebarItem/index.vue
+++ b/src/layouts/components/SidebarItem/index.vue
@@ -56,13 +56,21 @@
diff --git a/src/layouts/components/Header/index.vue b/src/layouts/components/Header/index.vue
index 6125aa5..88abc48 100644
--- a/src/layouts/components/Header/index.vue
+++ b/src/layouts/components/Header/index.vue
@@ -29,7 +29,7 @@
-
+
diff --git a/src/layouts/components/Logo/index.vue b/src/layouts/components/Logo/index.vue
index 9633d89..0c1483f 100644
--- a/src/layouts/components/Logo/index.vue
+++ b/src/layouts/components/Logo/index.vue
@@ -5,7 +5,7 @@
defineProps({
showLogo: {
type: Boolean,
- default: false,
+ default: true,
},
showTitle: {
type: Boolean,
@@ -15,8 +15,7 @@
const settingsStore = useSettingsStore()
-// const title = ref(import.meta.env.VITE_APP_TITLE)
-const title = JSON.parse(localStorage.getItem('currentSys') as string).name
+const title = ref(import.meta.env.VITE_SYS_TITLE)
const logo = ref(imgLogo)
const to = computed(() => {
@@ -32,7 +31,7 @@
-
+
{{ title }}
diff --git a/src/layouts/components/SidebarItem/index.vue b/src/layouts/components/SidebarItem/index.vue
index c08cd89..86639ea 100644
--- a/src/layouts/components/SidebarItem/index.vue
+++ b/src/layouts/components/SidebarItem/index.vue
@@ -56,13 +56,21 @@
diff --git a/src/layouts/components/Header/index.vue b/src/layouts/components/Header/index.vue
index 6125aa5..88abc48 100644
--- a/src/layouts/components/Header/index.vue
+++ b/src/layouts/components/Header/index.vue
@@ -29,7 +29,7 @@
-
+
diff --git a/src/layouts/components/Logo/index.vue b/src/layouts/components/Logo/index.vue
index 9633d89..0c1483f 100644
--- a/src/layouts/components/Logo/index.vue
+++ b/src/layouts/components/Logo/index.vue
@@ -5,7 +5,7 @@
defineProps({
showLogo: {
type: Boolean,
- default: false,
+ default: true,
},
showTitle: {
type: Boolean,
@@ -15,8 +15,7 @@
const settingsStore = useSettingsStore()
-// const title = ref(import.meta.env.VITE_APP_TITLE)
-const title = JSON.parse(localStorage.getItem('currentSys') as string).name
+const title = ref(import.meta.env.VITE_SYS_TITLE)
const logo = ref(imgLogo)
const to = computed(() => {
@@ -32,7 +31,7 @@
-
+
{{ title }}
diff --git a/src/layouts/components/SidebarItem/index.vue b/src/layouts/components/SidebarItem/index.vue
index c08cd89..86639ea 100644
--- a/src/layouts/components/SidebarItem/index.vue
+++ b/src/layouts/components/SidebarItem/index.vue
@@ -56,13 +56,21 @@
diff --git a/src/layouts/components/Header/index.vue b/src/layouts/components/Header/index.vue
index 6125aa5..88abc48 100644
--- a/src/layouts/components/Header/index.vue
+++ b/src/layouts/components/Header/index.vue
@@ -29,7 +29,7 @@
-
+
diff --git a/src/layouts/components/Logo/index.vue b/src/layouts/components/Logo/index.vue
index 9633d89..0c1483f 100644
--- a/src/layouts/components/Logo/index.vue
+++ b/src/layouts/components/Logo/index.vue
@@ -5,7 +5,7 @@
defineProps({
showLogo: {
type: Boolean,
- default: false,
+ default: true,
},
showTitle: {
type: Boolean,
@@ -15,8 +15,7 @@
const settingsStore = useSettingsStore()
-// const title = ref(import.meta.env.VITE_APP_TITLE)
-const title = JSON.parse(localStorage.getItem('currentSys') as string).name
+const title = ref(import.meta.env.VITE_SYS_TITLE)
const logo = ref(imgLogo)
const to = computed(() => {
@@ -32,7 +31,7 @@
-
+
{{ title }}
diff --git a/src/layouts/components/SidebarItem/index.vue b/src/layouts/components/SidebarItem/index.vue
index c08cd89..86639ea 100644
--- a/src/layouts/components/SidebarItem/index.vue
+++ b/src/layouts/components/SidebarItem/index.vue
@@ -56,13 +56,21 @@
diff --git a/src/layouts/components/Header/index.vue b/src/layouts/components/Header/index.vue
index 6125aa5..88abc48 100644
--- a/src/layouts/components/Header/index.vue
+++ b/src/layouts/components/Header/index.vue
@@ -29,7 +29,7 @@
-
+
diff --git a/src/layouts/components/Logo/index.vue b/src/layouts/components/Logo/index.vue
index 9633d89..0c1483f 100644
--- a/src/layouts/components/Logo/index.vue
+++ b/src/layouts/components/Logo/index.vue
@@ -5,7 +5,7 @@
defineProps({
showLogo: {
type: Boolean,
- default: false,
+ default: true,
},
showTitle: {
type: Boolean,
@@ -15,8 +15,7 @@
const settingsStore = useSettingsStore()
-// const title = ref(import.meta.env.VITE_APP_TITLE)
-const title = JSON.parse(localStorage.getItem('currentSys') as string).name
+const title = ref(import.meta.env.VITE_SYS_TITLE)
const logo = ref(imgLogo)
const to = computed(() => {
@@ -32,7 +31,7 @@
-
+
{{ title }}
diff --git a/src/layouts/components/SidebarItem/index.vue b/src/layouts/components/SidebarItem/index.vue
index c08cd89..86639ea 100644
--- a/src/layouts/components/SidebarItem/index.vue
+++ b/src/layouts/components/SidebarItem/index.vue
@@ -56,13 +56,21 @@
diff --git a/src/layouts/components/Header/index.vue b/src/layouts/components/Header/index.vue
index 6125aa5..88abc48 100644
--- a/src/layouts/components/Header/index.vue
+++ b/src/layouts/components/Header/index.vue
@@ -29,7 +29,7 @@
-
+
diff --git a/src/layouts/components/Logo/index.vue b/src/layouts/components/Logo/index.vue
index 9633d89..0c1483f 100644
--- a/src/layouts/components/Logo/index.vue
+++ b/src/layouts/components/Logo/index.vue
@@ -5,7 +5,7 @@
defineProps({
showLogo: {
type: Boolean,
- default: false,
+ default: true,
},
showTitle: {
type: Boolean,
@@ -15,8 +15,7 @@
const settingsStore = useSettingsStore()
-// const title = ref(import.meta.env.VITE_APP_TITLE)
-const title = JSON.parse(localStorage.getItem('currentSys') as string).name
+const title = ref(import.meta.env.VITE_SYS_TITLE)
const logo = ref(imgLogo)
const to = computed(() => {
@@ -32,7 +31,7 @@
-
+
{{ title }}
diff --git a/src/layouts/components/SidebarItem/index.vue b/src/layouts/components/SidebarItem/index.vue
index c08cd89..86639ea 100644
--- a/src/layouts/components/SidebarItem/index.vue
+++ b/src/layouts/components/SidebarItem/index.vue
@@ -56,13 +56,21 @@
diff --git a/src/layouts/components/Header/index.vue b/src/layouts/components/Header/index.vue
index 6125aa5..88abc48 100644
--- a/src/layouts/components/Header/index.vue
+++ b/src/layouts/components/Header/index.vue
@@ -29,7 +29,7 @@
-
+
diff --git a/src/layouts/components/Logo/index.vue b/src/layouts/components/Logo/index.vue
index 9633d89..0c1483f 100644
--- a/src/layouts/components/Logo/index.vue
+++ b/src/layouts/components/Logo/index.vue
@@ -5,7 +5,7 @@
defineProps({
showLogo: {
type: Boolean,
- default: false,
+ default: true,
},
showTitle: {
type: Boolean,
@@ -15,8 +15,7 @@
const settingsStore = useSettingsStore()
-// const title = ref(import.meta.env.VITE_APP_TITLE)
-const title = JSON.parse(localStorage.getItem('currentSys') as string).name
+const title = ref(import.meta.env.VITE_SYS_TITLE)
const logo = ref(imgLogo)
const to = computed(() => {
@@ -32,7 +31,7 @@
-
+
{{ title }}
diff --git a/src/layouts/components/SidebarItem/index.vue b/src/layouts/components/SidebarItem/index.vue
index c08cd89..86639ea 100644
--- a/src/layouts/components/SidebarItem/index.vue
+++ b/src/layouts/components/SidebarItem/index.vue
@@ -56,13 +56,21 @@
diff --git a/src/layouts/components/Header/index.vue b/src/layouts/components/Header/index.vue
index 6125aa5..88abc48 100644
--- a/src/layouts/components/Header/index.vue
+++ b/src/layouts/components/Header/index.vue
@@ -29,7 +29,7 @@
-
+
diff --git a/src/layouts/components/Logo/index.vue b/src/layouts/components/Logo/index.vue
index 9633d89..0c1483f 100644
--- a/src/layouts/components/Logo/index.vue
+++ b/src/layouts/components/Logo/index.vue
@@ -5,7 +5,7 @@
defineProps({
showLogo: {
type: Boolean,
- default: false,
+ default: true,
},
showTitle: {
type: Boolean,
@@ -15,8 +15,7 @@
const settingsStore = useSettingsStore()
-// const title = ref(import.meta.env.VITE_APP_TITLE)
-const title = JSON.parse(localStorage.getItem('currentSys') as string).name
+const title = ref(import.meta.env.VITE_SYS_TITLE)
const logo = ref(imgLogo)
const to = computed(() => {
@@ -32,7 +31,7 @@
-
+
{{ title }}
diff --git a/src/layouts/components/SidebarItem/index.vue b/src/layouts/components/SidebarItem/index.vue
index c08cd89..86639ea 100644
--- a/src/layouts/components/SidebarItem/index.vue
+++ b/src/layouts/components/SidebarItem/index.vue
@@ -56,13 +56,21 @@
diff --git a/src/layouts/components/Header/index.vue b/src/layouts/components/Header/index.vue
index 6125aa5..88abc48 100644
--- a/src/layouts/components/Header/index.vue
+++ b/src/layouts/components/Header/index.vue
@@ -29,7 +29,7 @@
-
+
diff --git a/src/layouts/components/Logo/index.vue b/src/layouts/components/Logo/index.vue
index 9633d89..0c1483f 100644
--- a/src/layouts/components/Logo/index.vue
+++ b/src/layouts/components/Logo/index.vue
@@ -5,7 +5,7 @@
defineProps({
showLogo: {
type: Boolean,
- default: false,
+ default: true,
},
showTitle: {
type: Boolean,
@@ -15,8 +15,7 @@
const settingsStore = useSettingsStore()
-// const title = ref(import.meta.env.VITE_APP_TITLE)
-const title = JSON.parse(localStorage.getItem('currentSys') as string).name
+const title = ref(import.meta.env.VITE_SYS_TITLE)
const logo = ref(imgLogo)
const to = computed(() => {
@@ -32,7 +31,7 @@
-
+
{{ title }}
diff --git a/src/layouts/components/SidebarItem/index.vue b/src/layouts/components/SidebarItem/index.vue
index c08cd89..86639ea 100644
--- a/src/layouts/components/SidebarItem/index.vue
+++ b/src/layouts/components/SidebarItem/index.vue
@@ -56,13 +56,21 @@
diff --git a/src/layouts/components/Header/index.vue b/src/layouts/components/Header/index.vue
index 6125aa5..88abc48 100644
--- a/src/layouts/components/Header/index.vue
+++ b/src/layouts/components/Header/index.vue
@@ -29,7 +29,7 @@
-
+
diff --git a/src/layouts/components/Logo/index.vue b/src/layouts/components/Logo/index.vue
index 9633d89..0c1483f 100644
--- a/src/layouts/components/Logo/index.vue
+++ b/src/layouts/components/Logo/index.vue
@@ -5,7 +5,7 @@
defineProps({
showLogo: {
type: Boolean,
- default: false,
+ default: true,
},
showTitle: {
type: Boolean,
@@ -15,8 +15,7 @@
const settingsStore = useSettingsStore()
-// const title = ref(import.meta.env.VITE_APP_TITLE)
-const title = JSON.parse(localStorage.getItem('currentSys') as string).name
+const title = ref(import.meta.env.VITE_SYS_TITLE)
const logo = ref(imgLogo)
const to = computed(() => {
@@ -32,7 +31,7 @@
-
+
{{ title }}
diff --git a/src/layouts/components/SidebarItem/index.vue b/src/layouts/components/SidebarItem/index.vue
index c08cd89..86639ea 100644
--- a/src/layouts/components/SidebarItem/index.vue
+++ b/src/layouts/components/SidebarItem/index.vue
@@ -56,13 +56,21 @@
diff --git a/src/layouts/components/Header/index.vue b/src/layouts/components/Header/index.vue
index 6125aa5..88abc48 100644
--- a/src/layouts/components/Header/index.vue
+++ b/src/layouts/components/Header/index.vue
@@ -29,7 +29,7 @@
-
+
diff --git a/src/layouts/components/Logo/index.vue b/src/layouts/components/Logo/index.vue
index 9633d89..0c1483f 100644
--- a/src/layouts/components/Logo/index.vue
+++ b/src/layouts/components/Logo/index.vue
@@ -5,7 +5,7 @@
defineProps({
showLogo: {
type: Boolean,
- default: false,
+ default: true,
},
showTitle: {
type: Boolean,
@@ -15,8 +15,7 @@
const settingsStore = useSettingsStore()
-// const title = ref(import.meta.env.VITE_APP_TITLE)
-const title = JSON.parse(localStorage.getItem('currentSys') as string).name
+const title = ref(import.meta.env.VITE_SYS_TITLE)
const logo = ref(imgLogo)
const to = computed(() => {
@@ -32,7 +31,7 @@
-
+
{{ title }}
diff --git a/src/layouts/components/SidebarItem/index.vue b/src/layouts/components/SidebarItem/index.vue
index c08cd89..86639ea 100644
--- a/src/layouts/components/SidebarItem/index.vue
+++ b/src/layouts/components/SidebarItem/index.vue
@@ -56,13 +56,21 @@
diff --git a/src/layouts/components/Header/index.vue b/src/layouts/components/Header/index.vue
index 6125aa5..88abc48 100644
--- a/src/layouts/components/Header/index.vue
+++ b/src/layouts/components/Header/index.vue
@@ -29,7 +29,7 @@
-
+
diff --git a/src/layouts/components/Logo/index.vue b/src/layouts/components/Logo/index.vue
index 9633d89..0c1483f 100644
--- a/src/layouts/components/Logo/index.vue
+++ b/src/layouts/components/Logo/index.vue
@@ -5,7 +5,7 @@
defineProps({
showLogo: {
type: Boolean,
- default: false,
+ default: true,
},
showTitle: {
type: Boolean,
@@ -15,8 +15,7 @@
const settingsStore = useSettingsStore()
-// const title = ref(import.meta.env.VITE_APP_TITLE)
-const title = JSON.parse(localStorage.getItem('currentSys') as string).name
+const title = ref(import.meta.env.VITE_SYS_TITLE)
const logo = ref(imgLogo)
const to = computed(() => {
@@ -32,7 +31,7 @@
-
+
{{ title }}
diff --git a/src/layouts/components/SidebarItem/index.vue b/src/layouts/components/SidebarItem/index.vue
index c08cd89..86639ea 100644
--- a/src/layouts/components/SidebarItem/index.vue
+++ b/src/layouts/components/SidebarItem/index.vue
@@ -56,13 +56,21 @@