"配置更新及语言切换"
This commit is contained in:
parent
fd10dd061b
commit
97f976bbc5
|
@ -0,0 +1,91 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="AutoImportSettings">
|
||||
<option name="autoReloadType" value="SELECTIVE" />
|
||||
</component>
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="e154df99-7110-436b-8d6d-6f9500ad8711" name="Changes" comment="">
|
||||
<change beforePath="$PROJECT_DIR$/web-server/common/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/web-server/common/pom.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/web-server/eureka-server/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/web-server/eureka-server/pom.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/web-server/face-proc/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/web-server/face-proc/pom.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/web-server/infrastructure/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/web-server/infrastructure/pom.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/web-server/zuul-server/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/web-server/zuul-server/pom.xml" afterDir="false" />
|
||||
</list>
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
||||
<option name="LAST_RESOLUTION" value="IGNORE" />
|
||||
</component>
|
||||
<component name="Git.Settings">
|
||||
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
||||
</component>
|
||||
<component name="KubernetesApiPersistence">{}</component>
|
||||
<component name="KubernetesApiProvider">{
|
||||
"isMigrated": true
|
||||
}</component>
|
||||
<component name="MavenImportPreferences">
|
||||
<option name="generalSettings">
|
||||
<MavenGeneralSettings>
|
||||
<option name="customMavenHome" value="D:\maven\apache-maven-3.9.9-bin\apache-maven-3.9.9" />
|
||||
<option name="mavenHomeTypeForPersistence" value="CUSTOM" />
|
||||
<option name="userSettingsFile" value="D:\maven\apache-maven-3.9.9-bin\apache-maven-3.9.9\conf\settings.xml" />
|
||||
</MavenGeneralSettings>
|
||||
</option>
|
||||
</component>
|
||||
<component name="ProjectColorInfo">{
|
||||
"associatedIndex": 5
|
||||
}</component>
|
||||
<component name="ProjectId" id="30D1KsY0Uz8nStNA6nLXC6ttZ19" />
|
||||
<component name="ProjectViewState">
|
||||
<option name="hideEmptyMiddlePackages" value="true" />
|
||||
<option name="showLibraryContents" value="true" />
|
||||
</component>
|
||||
<component name="PropertiesComponent">{
|
||||
"keyToString": {
|
||||
"ModuleVcsDetector.initialDetectionPerformed": "true",
|
||||
"RunOnceActivity.ShowReadmeOnStart": "true",
|
||||
"RunOnceActivity.git.unshallow": "true",
|
||||
"git-widget-placeholder": "main",
|
||||
"last_opened_file_path": "D:/xiaotieAI/ai-manus",
|
||||
"node.js.detected.package.eslint": "true",
|
||||
"node.js.detected.package.stylelint": "true",
|
||||
"node.js.detected.package.tslint": "true",
|
||||
"node.js.selected.package.eslint": "(autodetect)",
|
||||
"node.js.selected.package.stylelint": "",
|
||||
"node.js.selected.package.tslint": "(autodetect)",
|
||||
"nodejs_package_manager_path": "npm",
|
||||
"project.structure.last.edited": "SDKs",
|
||||
"project.structure.proportion": "0.0",
|
||||
"project.structure.side.proportion": "0.2",
|
||||
"settings.editor.selected.configurable": "reference.projectsettings.compiler.javacompiler",
|
||||
"vue.rearranger.settings.migration": "true"
|
||||
}
|
||||
}</component>
|
||||
<component name="SharedIndexes">
|
||||
<attachedChunks>
|
||||
<set>
|
||||
<option value="bundled-jdk-9823dce3aa75-fbdcb00ec9e3-intellij.indexing.shared.core-IU-251.23774.435" />
|
||||
<option value="bundled-js-predefined-d6986cc7102b-f27c65a3e318-JavaScript-IU-251.23774.435" />
|
||||
</set>
|
||||
</attachedChunks>
|
||||
</component>
|
||||
<component name="TaskManager">
|
||||
<task active="true" id="Default" summary="Default task">
|
||||
<changelist id="e154df99-7110-436b-8d6d-6f9500ad8711" name="Changes" comment="" />
|
||||
<created>1753147269297</created>
|
||||
<option name="number" value="Default" />
|
||||
<option name="presentableId" value="Default" />
|
||||
<updated>1753147269297</updated>
|
||||
<workItem from="1753147270514" duration="348000" />
|
||||
<workItem from="1753147648400" duration="228000" />
|
||||
<workItem from="1753147892148" duration="291000" />
|
||||
<workItem from="1753148203384" duration="640000" />
|
||||
<workItem from="1753149113791" duration="4000" />
|
||||
<workItem from="1753149150269" duration="99000" />
|
||||
</task>
|
||||
<servers />
|
||||
</component>
|
||||
<component name="TypeScriptGeneratedFilesManager">
|
||||
<option name="version" value="3" />
|
||||
</component>
|
||||
</project>
|
|
@ -1,7 +1,7 @@
|
|||
<script lang="ts" setup>
|
||||
import { pwa } from '@/config'
|
||||
import { useHead } from '@vueuse/head'
|
||||
import { enLocale, zhLocale } from '@/i18n'
|
||||
import { enLocale, zhLocale, zhTwLocale} from '@/i18n'
|
||||
|
||||
const route = useRoute()
|
||||
const { locale: language } = useI18n()
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -47,6 +47,7 @@
|
|||
"highlight.js": "^11.11.1",
|
||||
"image-conversion": "^2.1.1",
|
||||
"js-cookie": "^3.0.5",
|
||||
"js-message": "^2.1.0",
|
||||
"jsencrypt": "^3.3.2",
|
||||
"lodash": "^4.17.21",
|
||||
"lunisolar": "^2.5.2",
|
||||
|
|
|
@ -9,8 +9,10 @@ import zhTw from '@/locales/zh-TW'
|
|||
|
||||
import enLocale from 'element-plus/dist/locale/en'
|
||||
import zhLocale from 'element-plus/dist/locale/zh-cn'
|
||||
import zhTwLocale from 'element-plus/dist/locale/zh-tw'
|
||||
|
||||
export { enLocale, zhLocale }
|
||||
|
||||
export { enLocale, zhLocale, zhTwLocale }
|
||||
|
||||
const messages: Record<LanguageType, any> = {
|
||||
en: {
|
||||
|
|
|
@ -254,6 +254,19 @@
|
|||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.8.1</version>
|
||||
<configuration>
|
||||
<source>1.8</source>
|
||||
<target>1.8</target>
|
||||
<compilerArgs>
|
||||
<arg>-Xlint:unchecked</arg>
|
||||
</compilerArgs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<!--↓↓↓自动生成插件yq-->
|
||||
<plugin>
|
||||
<groupId>org.mybatis.generator</groupId>
|
||||
|
|
|
@ -18,7 +18,7 @@ spring:
|
|||
# 可选值: wuhan, beijing
|
||||
# 线上部署时可通过环境变量 SPRING_PROFILES_ACTIVE 覆盖
|
||||
profiles:
|
||||
active: wuhan
|
||||
active: beijing
|
||||
|
||||
# 文件上传配置
|
||||
servlet:
|
||||
|
|
|
@ -18,10 +18,10 @@
|
|||
<component name="JavacSettings">
|
||||
<option name="ADDITIONAL_OPTIONS_OVERRIDE">
|
||||
<module name="common" options="-parameters" />
|
||||
<module name="eureka-server" options="-parameters" />
|
||||
<module name="eureka-server" options="-parameters -Xlint:unchecked" />
|
||||
<module name="face-proc" options="-parameters" />
|
||||
<module name="infrastructure" options="-parameters" />
|
||||
<module name="zuul-server" options="-parameters" />
|
||||
<module name="infrastructure" options="-parameters -Xlint:unchecked" />
|
||||
<module name="zuul-server" options="-parameters -Xlint:unchecked" />
|
||||
</option>
|
||||
</component>
|
||||
</project>
|
|
@ -1,6 +1,16 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="RemoteRepositoriesConfiguration">
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="Central Repository" />
|
||||
<option name="url" value="https://repo.maven.apache.org/maven2" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="spring-milestones" />
|
||||
<option name="name" value="Spring Milestones" />
|
||||
<option name="url" value="https://repo.spring.io/milestone" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="Maven Central repository" />
|
||||
|
|
|
@ -10,10 +10,16 @@
|
|||
<option value="$PROJECT_DIR$/eureka-server/pom.xml" />
|
||||
<option value="$PROJECT_DIR$/face-proc/pom.xml" />
|
||||
<option value="$PROJECT_DIR$/infrastructure/pom.xml" />
|
||||
<option value="$PROJECT_DIR$/../chat-server/pom.xml" />
|
||||
</list>
|
||||
</option>
|
||||
<option name="ignoredFiles">
|
||||
<set>
|
||||
<option value="$PROJECT_DIR$/../chat-server/pom.xml" />
|
||||
</set>
|
||||
</option>
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/out" />
|
||||
</component>
|
||||
</project>
|
|
@ -16,6 +16,8 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs
|
|||
</parent>
|
||||
<properties>
|
||||
<java.version>1.8</java.version>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
</properties>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
|
@ -105,6 +107,20 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs
|
|||
</url>
|
||||
</snapshotRepository>
|
||||
</distributionManagement>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.8.1</version>
|
||||
<configuration>
|
||||
<source>1.8</source>
|
||||
<target>1.8</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -18,8 +18,12 @@
|
|||
<java.version>1.8</java.version>
|
||||
<spring-cloud.version>Greenwich.RELEASE</spring-cloud.version>
|
||||
<docker.image.prefix>bjtds</docker.image.prefix> <!--镜像前缀,随便取-->
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
</properties>
|
||||
|
||||
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
|
@ -55,6 +59,19 @@
|
|||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.8.1</version>
|
||||
<configuration>
|
||||
<source>1.8</source>
|
||||
<target>1.8</target>
|
||||
<compilerArgs>
|
||||
<arg>-Xlint:unchecked</arg>
|
||||
</compilerArgs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>com.spotify</groupId>
|
||||
|
|
|
@ -19,6 +19,8 @@
|
|||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<spring-boot.version>2.1.2.RELEASE</spring-boot.version>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
|
|
@ -18,6 +18,8 @@
|
|||
<java.version>1.8</java.version>
|
||||
<spring-cloud.version>Greenwich.RELEASE</spring-cloud.version>
|
||||
<docker.image.prefix>bjtds</docker.image.prefix>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
@ -189,6 +191,19 @@
|
|||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.8.1</version>
|
||||
<configuration>
|
||||
<source>1.8</source>
|
||||
<target>1.8</target>
|
||||
<compilerArgs>
|
||||
<arg>-Xlint:unchecked</arg>
|
||||
</compilerArgs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<!-- package的时候能够将依赖的 本地jar包 打包到最终的目标jar中 -->
|
||||
<!--
|
||||
<plugin>
|
||||
|
|
|
@ -18,6 +18,8 @@
|
|||
<java.version>1.8</java.version>
|
||||
<spring-cloud.version>Greenwich.RELEASE</spring-cloud.version>
|
||||
<docker.image.prefix>bjtds</docker.image.prefix>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
@ -129,6 +131,19 @@
|
|||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.8.1</version>
|
||||
<configuration>
|
||||
<source>1.8</source>
|
||||
<target>1.8</target>
|
||||
<compilerArgs>
|
||||
<arg>-Xlint:unchecked</arg>
|
||||
</compilerArgs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>com.spotify</groupId>
|
||||
|
|
Loading…
Reference in New Issue