diff --git a/README.md b/README.md
index 7787e8e4a..c9ab210f8 100644
--- a/README.md
+++ b/README.md
@@ -4,6 +4,7 @@
form: {
labelMessage: '信息提示说明!!!',
componentProps: {
+ enterSearch: true, //可输入回车 对应绑定事件:@onEnter="onEnter"
isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择物料代码', // 输入框占位文本
searchField: 'itemCode', // 查询弹窗赋值字段
diff --git a/index.html b/index.html
index b558105c9..847a1533b 100644
--- a/index.html
+++ b/index.html
@@ -138,7 +138,7 @@

-
%VITE_APP_TITLE%
+
%VITE_APP_TITLE%
diff --git a/src/components/TableForm/src/TableForm.vue b/src/components/TableForm/src/TableForm.vue
index 61242caf5..2de165246 100644
--- a/src/components/TableForm/src/TableForm.vue
+++ b/src/components/TableForm/src/TableForm.vue
@@ -64,7 +64,7 @@
v-model="row[headerItem.field]"
clearable
:type="headerItem?.tableForm?.inputType"
- :placeholder="headerItem?.tableForm?.placeholder || '请输入' + headerItem.label"
+ :placeholder="t(`ts.${headerItem?.tableForm?.placeholder || '请输入' + headerItem.label}`)"
:disabled="headerItem?.tableForm?.disabled ? true: headerItem?.tableForm?.isInpuFocusShow ? true : false"
style="flex:1"
@blur="inputStringBlur(headerItem.field, row[headerItem.field], row)"
diff --git a/src/components/UploadFile/src/UploadFile.vue b/src/components/UploadFile/src/UploadFile.vue
index bf3cc4895..f952d235e 100644
--- a/src/components/UploadFile/src/UploadFile.vue
+++ b/src/components/UploadFile/src/UploadFile.vue
@@ -23,10 +23,10 @@
{{ title }}
- 大小不超过 {{ fileSize }}MB
+ {{t('ts.大小不超过')}} {{ fileSize }}MB
- 格式为 {{ fileType.join('/') }} 的文件
+ {{ t('ts.格式为') }} {{ fileType.join('/') }} {{ t('ts.的文件') }}
diff --git a/src/hooks/web/useTitle.ts b/src/hooks/web/useTitle.ts
index 020a9b771..e531855ec 100644
--- a/src/hooks/web/useTitle.ts
+++ b/src/hooks/web/useTitle.ts
@@ -1,6 +1,7 @@
import { watch, ref } from 'vue'
import { isString } from '@/utils/is'
import { useAppStoreWithOut } from '@/store/modules/app'
+const { t } = useI18n() // 国际化
const appStore = useAppStoreWithOut()
@@ -14,7 +15,7 @@ export const useTitle = (newTitle?: string) => {
title,
(n, o) => {
if (isString(n) && n !== o && document) {
- document.title = n
+ document.title = n.replace(import.meta.env.VITE_APP_TITLE,t(`ts.${import.meta.env.VITE_APP_TITLE}`))
}
},
{ immediate: true }
diff --git a/src/layout/components/Footer/src/Footer.vue b/src/layout/components/Footer/src/Footer.vue
index c350e38af..bf29e4851 100644
--- a/src/layout/components/Footer/src/Footer.vue
+++ b/src/layout/components/Footer/src/Footer.vue
@@ -1,6 +1,7 @@