Commit ad0f605f authored by 罗超's avatar 罗超

2

parent df6c2670
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
stack-label stack-label
:min="0" :min="0"
v-if="type == 'b'" v-if="type == 'b'"
@input="changeStartChapter" @change="changeStartChapter"
/> />
<q-input <q-input
filled filled
...@@ -85,10 +85,12 @@ ...@@ -85,10 +85,12 @@
class="col-4" class="col-4"
stack-label stack-label
:min="0" :min="0"
@input="changeEndChapter" :max="999"
@change="changeEndChapter"
/> />
</div> </div>
<div class="q-my-xs">跳课章节列表:{{ msg.ChapterNos }}</div> <div class="q-my-xs" style="word-wrap:break-word">
<span style="white-space:nowrap">跳课章节列表:</span>{{ msg.ChapterNos }}</div>
</q-card-section> </q-card-section>
<q-separator /> <q-separator />
<q-card-actions align="right" class="bg-white"> <q-card-actions align="right" class="bg-white">
...@@ -161,6 +163,9 @@ export default { ...@@ -161,6 +163,9 @@ export default {
if (!this.endSChapterNo) { if (!this.endSChapterNo) {
this.endSChapterNo = 0; this.endSChapterNo = 0;
} }
if (this.endSChapterNo>=999) {
this.endSChapterNo = 999;
}
const end = parseInt(this.endSChapterNo); const end = parseInt(this.endSChapterNo);
let arr = []; let arr = [];
if (this.type == "a") { if (this.type == "a") {
......
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