refactor: 修改模块配置,统一标题内容

This commit is contained in:
2024-08-31 19:36:28 +08:00
parent 9ffd67758b
commit 75921e1b13
4 changed files with 54 additions and 25 deletions

View File

@@ -1,7 +1,7 @@
<template>
<div class="about-view flex-col">
<div class="app-view-header">
<span>关于</span>
<span>{{ ABOUT_MODULE_TITLE }}</span>
</div>
<div class="app-view-content with-margin">
@@ -34,8 +34,9 @@
</template>
<script setup>
import { version } from '@package-json';
import { NA, NH4, NLi, NP, NUl } from 'naive-ui';
import { version } from '@package-json';
import { ABOUT_MODULE_TITLE } from '@/config/modules';
/** Gitee 地址 */
const URL_GITEE = 'https://gitee.com/frost-craft/frost-navigation';

View File

@@ -1,7 +1,7 @@
<template>
<div class="search-view flex-col">
<div class="app-view-header">
<span>搜索</span>
<span>{{ SEARCH_MODULE_TITLE }}</span>
</div>
<div class="app-view-content is-transparent">
@@ -72,6 +72,10 @@ import {
openSearchResult,
searchEngineList, searchEngineName, searchKeyword,
} from '@/assets/js/search-engine';
import {
SEARCH_MODULE_TITLE,
} from '@/config/modules';
</script>
<style lang="less" scoped>