Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gk-online-teacher
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
huanglu
gk-online-teacher
Commits
b845b7c3
Commit
b845b7c3
authored
Dec 16, 2020
by
刘阳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 提示
parent
3977b8ff
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
index.vue
src/views/answer-screen/index.vue
+4
-3
No files found.
src/views/answer-screen/index.vue
View file @
b845b7c3
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
<el-button
@
click=
"sendAnswer"
<el-button
@
click=
"sendAnswer"
type=
"primary"
type=
"primary"
class=
"itm"
class=
"itm"
:disabled=
"
false
"
>
提交
:disabled=
"
disabled
"
>
提交
</el-button>
</el-button>
</div>
</div>
</div>
</div>
...
@@ -118,6 +118,7 @@ export default {
...
@@ -118,6 +118,7 @@ export default {
},
},
(
data
)
=>
{
(
data
)
=>
{
console
.
log
(
'回执'
,
data
);
console
.
log
(
'回执'
,
data
);
this
.
$alert
(
'提交成功!'
)
this
.
disabled
=
true
;
this
.
disabled
=
true
;
}
}
);
);
...
@@ -129,9 +130,9 @@ export default {
...
@@ -129,9 +130,9 @@ export default {
// "payload":{"type":0,"title":"选择题"}}]
// "payload":{"type":0,"title":"选择题"}}]
if
(
msg
&&
msg
.
from
&&
msg
.
from
.
indexOf
(
'teacher'
)
>
-
1
&&
msg
.
payload
.
type
>
-
1
)
{
if
(
msg
&&
msg
.
from
&&
msg
.
from
.
indexOf
(
'teacher'
)
>
-
1
&&
msg
.
payload
.
type
>
-
1
)
{
this
.
questionType
=
msg
.
payload
.
type
this
.
questionType
=
msg
.
payload
.
type
if
(
this
.
questionType
===
3
)
{
//
if (this.questionType === 3) {
this
.
disabled
=
false
this
.
disabled
=
false
}
//
}
}
}
}
}
},
},
...
...
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