|
@@ -1141,6 +1141,10 @@
|
1141
|
1141
|
return
|
1142
|
1142
|
}
|
1143
|
1143
|
|
|
1144
|
+ if (this.current_advice == null){
|
|
1145
|
+ return
|
|
1146
|
+ }
|
|
1147
|
+
|
1144
|
1148
|
if (this.currentAdvices.length == 0) {0
|
1145
|
1149
|
return false
|
1146
|
1150
|
}
|
|
@@ -1341,6 +1345,7 @@
|
1341
|
1345
|
}, selectGroupAdviceAction: function (group_index, advice_index, advice, group) {
|
1342
|
1346
|
|
1343
|
1347
|
if (this.current_group_index != -1 && this.current_group_index != group_index) { //选择其他组,将原来的组选择状态清除
|
|
1348
|
+ console.log("111111111")
|
1344
|
1349
|
this.currentAdvices = []
|
1345
|
1350
|
this.currentSubAdvices = []
|
1346
|
1351
|
for (let i = 0; i < this.advice_groups.length; i++) {
|
|
@@ -1359,7 +1364,7 @@
|
1359
|
1364
|
}
|
1360
|
1365
|
}
|
1361
|
1366
|
}
|
1362
|
|
-
|
|
1367
|
+ this.currentAdvices = []
|
1363
|
1368
|
for (let i = 0; i < this.advice_groups.length; i++) {
|
1364
|
1369
|
for (let y = 0; y < this.advice_groups[i].advices.length; y++) {
|
1365
|
1370
|
var advices = this.advice_groups[i].advices[y]
|
|
@@ -1373,6 +1378,8 @@
|
1373
|
1378
|
this.current_group_index = group_index
|
1374
|
1379
|
this.current_advice_index = advice_index
|
1375
|
1380
|
this.current_advice = advice
|
|
1381
|
+
|
|
1382
|
+
|
1376
|
1383
|
}
|
1377
|
1384
|
}
|
1378
|
1385
|
}
|