|
@@ -920,6 +920,9 @@ export default {
|
|
|
goodsId: this.goodsId,
|
|
|
})
|
|
|
.then((res) => {
|
|
|
+ res.data.sort((a, b) => {
|
|
|
+ return a.sort - b.sort;
|
|
|
+ });
|
|
|
this.$set(
|
|
|
this.bankList[DW].list[DWChapter],
|
|
|
"showList",
|
|
@@ -946,7 +949,6 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
} else if (this.bankList[DW].type == 2) {
|
|
|
- console.log(2);
|
|
|
this.$request
|
|
|
.bankExamExamList({
|
|
|
orderGoodsId: this.orderGoodsId,
|
|
@@ -955,6 +957,9 @@ export default {
|
|
|
goodsId: this.goodsId,
|
|
|
})
|
|
|
.then((res) => {
|
|
|
+ res.data.sort((a, b) => {
|
|
|
+ return a.sort - b.sort;
|
|
|
+ });
|
|
|
this.$set(
|
|
|
this.bankList[DW],
|
|
|
"showList",
|
|
@@ -1152,7 +1157,6 @@ export default {
|
|
|
res.data.sort((a, b) => {
|
|
|
return a.sort - b.sort;
|
|
|
});
|
|
|
- console.log(res, "res");
|
|
|
chapter.showList = !chapter.showList;
|
|
|
chapter.list = res.data;
|
|
|
resolve();
|