Commit 90343dcb authored by 李维's avatar 李维

修改提示信息

parent 0ad9c374
...@@ -114,10 +114,11 @@ export default class MiddleLayerClass extends middleLayerBase { ...@@ -114,10 +114,11 @@ export default class MiddleLayerClass extends middleLayerBase {
if (this.courseIndex < this.courses.length - 1) { if (this.courseIndex < this.courses.length - 1) {
resovle({ resovle({
ok: false, ok: false,
msg: `${this.courseIndex}<${this.courses.length - 1} 返回` msg: `${this.courseIndex}/${this.courses.length - 1} 不是最后一个课件,返回`
}) })
return; return;
} }
this.callNetworkApiPost(`/api/kyxq/v1/user/saveend`, { this.callNetworkApiPost(`/api/kyxq/v1/user/saveend`, {
syllabus_id: this.courseItem.course_id, syllabus_id: this.courseItem.course_id,
}, (res) => { }, (res) => {
...@@ -184,7 +185,7 @@ export default class MiddleLayerClass extends middleLayerBase { ...@@ -184,7 +185,7 @@ export default class MiddleLayerClass extends middleLayerBase {
} else { } else {
resovle({ resovle({
ok: false, ok: false,
msg: `${this.courseIndex} < ${this.courses.length - 1} 部署最后一个课件,不需要解锁` msg: `${this.courseIndex}/${this.courses.length - 1} 不是最后一个课件,不需要解锁`
}) })
} }
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment