Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fns_backend
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
Zhang Xiaojie
fns_backend
Commits
e9d44ac2
Commit
e9d44ac2
authored
Oct 28, 2021
by
lshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
聊天空问题
parent
cdf777cb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
index.vue
src/views/Root/Chat/index.vue
+3
-2
No files found.
src/views/Root/Chat/index.vue
View file @
e9d44ac2
...
...
@@ -22,6 +22,7 @@
<span>
<a-input
v-model=
"item.answer"
:placeholder=
"'设置自动回复'+ index +'(50字以内)'"
:maxLength=
"50"
style=
"width: 18rem;margin-right:10px;"
/>
</span>
<span
@
click=
"addInput(index)"
>
<a-icon
type=
"plus"
style=
" margin-right:10px;"
/>
</span>
...
...
@@ -249,8 +250,8 @@ export default Vue.extend({
if
(
valid
)
{
this
.
show
=
false
for
(
let
i
=
0
;
i
<
this
.
forms
.
length
;
i
++
){
if
(
!
this
.
forms
[
i
].
question
){
message
.
error
(
'第'
+
i
+
'个问题
为空
'
)
if
(
!
this
.
forms
[
i
].
question
||
!
this
.
forms
[
i
].
answer
){
message
.
error
(
'第'
+
i
+
'个问题
添加失败
'
)
}
else
{
FAQService
.
getInstance
().
AddQueAns
({
answer
:
this
.
forms
[
i
].
answer
,
...
...
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