From ecb89e9f263566147d841a2d73bb4957adde5d69 Mon Sep 17 00:00:00 2001
From: TsMask <340112800@qq.com>
Date: Tue, 23 Apr 2024 14:56:35 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E7=94=A8=E6=88=B7=E7=AE=A1=E7=90=86?=
=?UTF-8?q?=E5=92=8C=E4=B8=AA=E4=BA=BA=E4=BF=A1=E6=81=AF=E6=89=8B=E6=9C=BA?=
=?UTF-8?q?=E5=8F=B7=E8=BE=93=E5=85=A5=E6=94=B9=E4=B8=BA=E5=9B=BD=E9=99=85?=
=?UTF-8?q?=E7=94=B5=E8=AF=9D=E8=BE=93=E5=85=A5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/account/components/base-info.vue | 6 +++---
src/views/system/user/index.vue | 20 ++++++++++++++++----
2 files changed, 19 insertions(+), 7 deletions(-)
diff --git a/src/views/account/components/base-info.vue b/src/views/account/components/base-info.vue
index 541a7eab..5eaea2b1 100644
--- a/src/views/account/components/base-info.vue
+++ b/src/views/account/components/base-info.vue
@@ -166,12 +166,12 @@ onMounted(() => {
},
]"
>
-
+ >
{
tree-node-filter-prop="label"
style="width: 100%"
:dropdown-style="{ maxHeight: '400px', overflow: 'auto' }"
+ :placeholder="t('common.selectPlease')"
>
@@ -1278,6 +1279,7 @@ onMounted(() => {
v-model:value="modalState.from.userName"
allow-clear
:maxlength="30"
+ :placeholder="t('common.inputPlease')"
>
@@ -1294,6 +1296,7 @@ onMounted(() => {
@@ -1314,6 +1317,7 @@ onMounted(() => {
v-model:value="modalState.from.nickName"
allow-clear
:maxlength="30"
+ :placeholder="t('common.inputPlease')"
>
@@ -1331,6 +1335,7 @@ onMounted(() => {
option-label-prop="postName"
:options="modalState.options.posts"
:field-names="{ label: 'postName', value: 'postId' }"
+ :placeholder="t('common.selectPlease')"
>
@@ -1344,11 +1349,12 @@ onMounted(() => {
name="phonenumber"
v-bind="modalStateFrom.validateInfos.phonenumber"
>
-
+ :placeholder="t('common.inputPlease')"
+ >
@@ -1361,6 +1367,7 @@ onMounted(() => {
v-model:value="modalState.from.email"
allow-clear
:maxlength="40"
+ :placeholder="t('common.inputPlease')"
>
@@ -1373,6 +1380,7 @@ onMounted(() => {
v-model:value="modalState.from.sex"
default-value="1"
:options="dict.sysUserSex"
+ :placeholder="t('common.selectPlease')"
>
@@ -1383,6 +1391,7 @@ onMounted(() => {
v-model:value="modalState.from.status"
default-value="0"
:options="dict.sysNormalDisable"
+ :placeholder="t('common.selectPlease')"
>
@@ -1404,6 +1413,7 @@ onMounted(() => {
option-label-prop="roleName"
:options="modalState.options.roles"
:field-names="{ label: 'roleName', value: 'roleId' }"
+ :placeholder="t('common.selectPlease')"
>
@@ -1427,6 +1437,7 @@ onMounted(() => {
tree-node-filter-prop="label"
style="width: 100%"
:dropdown-style="{ maxHeight: '400px', overflow: 'auto' }"
+ :placeholder="t('common.selectPlease')"
>
@@ -1441,6 +1452,7 @@ onMounted(() => {
:auto-size="{ minRows: 4, maxRows: 6 }"
:maxlength="450"
:show-count="true"
+ :placeholder="t('common.inputPlease')"
/>