diff --git a/frontend/src/lang/modules/en.ts b/frontend/src/lang/modules/en.ts index 3a891cd33..f1926382d 100644 --- a/frontend/src/lang/modules/en.ts +++ b/frontend/src/lang/modules/en.ts @@ -809,6 +809,7 @@ const message = { containSub: 'Modify sub-file attributes at the same time', ownerHelper: 'The default user of the PHP operating environment: the user group is 1000:1000, it is normal that the users inside and outside the container show inconsistencies', + searchHelper: 'Support wildcards such as *', }, setting: { all: 'All', diff --git a/frontend/src/lang/modules/zh.ts b/frontend/src/lang/modules/zh.ts index f5c23f87d..2704aee93 100644 --- a/frontend/src/lang/modules/zh.ts +++ b/frontend/src/lang/modules/zh.ts @@ -816,6 +816,7 @@ const message = { changeOwner: '修改用户和用户组', containSub: '同时修改子文件属性', ownerHelper: 'PHP 运行环境默认用户:用户组为 1000:1000, 容器内外用户显示不一致为正常现象', + searchHelper: '支持 * 等通配符', }, setting: { all: '全部', diff --git a/frontend/src/views/host/file-management/index.vue b/frontend/src/views/host/file-management/index.vue index 0a9bab1ec..48438f987 100644 --- a/frontend/src/views/host/file-management/index.vue +++ b/frontend/src/views/host/file-management/index.vue @@ -90,7 +90,7 @@ clearable @clear="search()" @keydown.enter="search()" - :placeholder="$t('file.search')" + :placeholder="req.containSub ? $t('file.searchHelper') : $t('file.search')" >