Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
corporate-culture-qd
Overview
Overview
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
王立鹏
corporate-culture-qd
Commits
283c148f
Commit
283c148f
authored
Apr 28, 2026
by
lijiabin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【需求 21402】 fix: 增加inject的默认值,优化样式
parent
ba308dc8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
index.vue
src/components/common/CommentBox/index.vue
+1
-1
index.vue
src/views/selfMessage/index.vue
+2
-2
No files found.
src/components/common/CommentBox/index.vue
View file @
283c148f
...
...
@@ -7,7 +7,7 @@ import { useUploadImg } from '@/hooks'
import
type
{
IEmoji
}
from
'@/utils/emoji/type'
import
{
MENTION_USER_FN_KEY
,
IS_REAL_KEY_COMMENT
}
from
'@/constants/symbolKey'
const
isReal
=
inject
(
IS_REAL_KEY_COMMENT
)
!
const
isReal
=
inject
(
IS_REAL_KEY_COMMENT
,
0
)
function
escapeHtml
(
str
:
string
)
{
return
str
.
replace
(
/&/g
,
'&'
)
...
...
src/views/selfMessage/index.vue
View file @
283c148f
...
...
@@ -434,8 +434,8 @@ onActivated(async () => {
class=
"w-fit max-w-full rounded-lg px-3 py-2 shadow-[0_0.125rem_0.5rem_rgba(39,74,120,0.04)]"
:class=
"
message.is_self
? 'rounded-tr-[0.375rem]
border border-[#d4e4ff] bg-[#dbeaff] text-[#1a3f73
]'
: 'rounded-tl-[0.375rem]
border border-[#d9e3ef] bg-[#f3f7fc] text-[#1f2f46
]'
? 'rounded-tr-[0.375rem]
bg-[#dbeaff
]'
: 'rounded-tl-[0.375rem]
bg-[#dff1fd
]'
"
>
<el-dropdown
...
...
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