Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
poc-fe
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
poc
poc-fe
Commits
191be354
Commit
191be354
authored
Nov 27, 2024
by
tyyin lan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore(个人设置): 个人简介限制字数
parent
8b3e957a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
personal-settings.vue
src/views/personal-settings/personal-settings.vue
+6
-4
No files found.
src/views/personal-settings/personal-settings.vue
View file @
191be354
...
...
@@ -210,20 +210,22 @@ function handleUserInfoFormItemEditUpdate(key: keyof typeof userInfoFormItemEdit
</div>
</li>
<li
class=
"mb-[30px] mt-[24px] flex
items-center
"
>
<li
class=
"mb-[30px] mt-[24px] flex"
>
<h4
class=
"font-600 list-item-label mr-[19px] text-[14px]"
>
{{
t
(
'personal_settings_module.personal_profile'
)
}}
:
</h4>
<div
v-if=
"userInfoFormItemEdit.remark"
class=
"flex"
>
<div
class=
"flex w-[
22
0px] items-center"
>
<div
class=
"flex w-[
40
0px] items-center"
>
<n-input
ref=
"inputRefs"
v-model:value=
"userInfoForm.remark"
type=
"textarea"
size=
"small"
:placeholder=
"t('personal_settings_module.please_enter_a_personal_profile')"
:autosize=
"
{ minRows: 4, maxRows: 4 }"
:autosize=
"
{ minRows: 4, maxRows: 6 }"
maxlength="120"
show-count
/>
</div>
...
...
@@ -242,7 +244,7 @@ function handleUserInfoFormItemEditUpdate(key: keyof typeof userInfoFormItemEdit
</div>
</div>
<div
v-else
class=
"flex items-center text-[14px] text-[#999]"
>
<div
v-else
class=
"flex
max-w-[400px]
items-center text-[14px] text-[#999]"
>
<span
class=
"mr-[5px]"
>
{{
userInfo
.
remark
||
'-'
}}
</span>
<i
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment