From 0b50a10fb8a769f0b51372f6de94142470dea4d5 Mon Sep 17 00:00:00 2001 From: zhengkunwang223 <31820853+zhengkunwang223@users.noreply.github.com> Date: Fri, 5 May 2023 16:35:30 +0700 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=90=9C=E7=B4=A2=E5=AD=90=E7=9B=AE?= =?UTF-8?q?=E5=BD=95=E5=A2=9E=E5=8A=A0=E6=8F=90=E7=A4=BA=20(#883)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/lang/modules/en.ts | 1 + frontend/src/lang/modules/zh.ts | 1 + frontend/src/views/host/file-management/index.vue | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) 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')" >