|
@@ -211,6 +211,7 @@
|
|
|
this.goUpPage()
|
|
|
},
|
|
|
goNext() {
|
|
|
+ debugger
|
|
|
this.$refs.popupRef.close();
|
|
|
if (!cacheManager.get('auth')) {
|
|
|
console.log(this);
|
|
@@ -218,17 +219,20 @@
|
|
|
} else {
|
|
|
const AuthCode = getUserIdentity();
|
|
|
console.log(AuthCode);
|
|
|
- if (AuthCode == 'Not-Vip') {
|
|
|
- this.$refs.svipDialogRef.handleShow();
|
|
|
- return false
|
|
|
- }
|
|
|
+ // if (AuthCode == 'Not-Vip') {
|
|
|
+ // this.$refs.svipDialogRef.handleShow();
|
|
|
+ // return false
|
|
|
+ // }
|
|
|
// debugger
|
|
|
Number(this.jieId++)
|
|
|
+ console.log('this.pageData',this.pageData);
|
|
|
let currentObject = this.cacheZhangInfo.zhangList[this.cacheCurrentZhangIndex].jieList.find(item =>
|
|
|
item.jieId == this.jieId);
|
|
|
- this.pageData = {
|
|
|
- ...currentObject
|
|
|
- }
|
|
|
+ if(currentObject){
|
|
|
+ this.pageData = {
|
|
|
+ ...currentObject
|
|
|
+ }
|
|
|
+ }
|
|
|
// lastFlag是否是本章最后一节,0否1是 type,1视频,2试题
|
|
|
if (this.pageData.lastFlag == 1 && this.pageData.type == 2) {
|
|
|
uni.redirectTo({
|