Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fns_front_2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenqikuai
fns_front_2
Commits
10310604
Commit
10310604
authored
Oct 11, 2021
by
chenqikuai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复客服经理发送的消息客户无法收到的bug
parent
d34b7fd5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
ChatInput.vue
src/views/Chat/ChatInput.vue
+6
-1
No files found.
src/views/Chat/ChatInput.vue
View file @
10310604
...
...
@@ -56,6 +56,8 @@ import { textInputStore } from "@/store/textInputStore";
import
{
v4
as
uuidv4
}
from
'uuid'
import
Icon
from
"@/components/common/Icon.vue"
;
import
{
useRoute
}
from
"vue-router"
;
import
{
getUserMsg
}
from
"@/utils/userMsg"
;
import
{
eRole
}
from
"@/types/roleType"
;
export
default
defineComponent
({
props
:
{
...
...
@@ -113,8 +115,11 @@ export default defineComponent({
const
handleSend
=
()
=>
{
console
.
log
(
'handle send'
);
const
isStaff
=
getUserMsg
()?.
role
===
eRole
.
staff
;
const
isUser
=
getUserMsg
()?.
role
===
eRole
.
user
;
console
.
log
(
isStaff
,
'isStaff'
);
if
(
props
.
serviceShowValue
===
"人工服务"
)
{
if
(
isUser
&&
props
.
serviceShowValue
===
"人工服务"
)
{
messageStore
.
displayNewMessage
({
content
:
{
content
:
inputText
.
value
...
...
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