🎨 style: remove all prefix icons to simplify the layout of the sidesheet component

This commit is contained in:
t0ng7u
2025-06-26 16:36:36 +08:00
parent 39cb45c11c
commit 1a0aac81df
4 changed files with 0 additions and 30 deletions

View File

@@ -12,12 +12,9 @@ import {
Avatar
} from '@douyinfe/semi-ui';
import {
IconUser,
IconSave,
IconClose,
IconKey,
IconUserAdd,
IconEdit,
} from '@douyinfe/semi-icons';
import { useTranslation } from 'react-i18next';
@@ -131,7 +128,6 @@ const AddUser = (props) => {
value={username}
autoComplete="off"
className="!rounded-lg"
prefix={<IconUser />}
showClear
required
/>
@@ -145,7 +141,6 @@ const AddUser = (props) => {
value={display_name}
autoComplete="off"
className="!rounded-lg"
prefix={<IconUser />}
showClear
/>
</div>
@@ -159,7 +154,6 @@ const AddUser = (props) => {
value={password}
autoComplete="off"
className="!rounded-lg"
prefix={<IconKey />}
required
/>
</div>
@@ -172,7 +166,6 @@ const AddUser = (props) => {
value={remark}
autoComplete="off"
className="!rounded-lg"
prefix={<IconEdit />}
showClear
/>
</div>

View File

@@ -18,12 +18,9 @@ import {
IconUser,
IconSave,
IconClose,
IconKey,
IconCreditCard,
IconLink,
IconUserGroup,
IconPlus,
IconEdit,
} from '@douyinfe/semi-icons';
import { useTranslation } from 'react-i18next';
@@ -222,7 +219,6 @@ const EditUser = (props) => {
value={password}
autoComplete="new-password"
className="!rounded-lg"
prefix={<IconKey />}
/>
</div>
@@ -246,7 +242,6 @@ const EditUser = (props) => {
value={remark}
autoComplete="off"
className="!rounded-lg"
prefix={<IconEdit />}
showClear
/>
</div>
@@ -281,7 +276,6 @@ const EditUser = (props) => {
autoComplete="new-password"
optionList={groupOptions}
className="w-full !rounded-lg"
prefix={<IconUserGroup />}
/>
</div>
@@ -298,7 +292,6 @@ const EditUser = (props) => {
type="number"
autoComplete="new-password"
className="flex-1 !rounded-lg"
prefix={<IconCreditCard />}
/>
<Button
onClick={openAddQuotaModal}
@@ -425,7 +418,6 @@ const EditUser = (props) => {
type="number"
autoComplete="new-password"
className="!rounded-lg"
prefix={<IconCreditCard />}
/>
</Modal>
</>