提交 c6bcb29b 编写于 作者: guangjun.yang's avatar guangjun.yang

解决报错问题

上级 fed30412
<template>
<section class="question-header-wrapper">
<img class="left" src="../../images/left-array-black.png" alt="">
<img @click="goBack" class="left" src="../../images/left-array-black.png" alt="">
<span class="center">{{title}}</span>
<div class="right">
<span class="order">{{order}}</span><span class="total">/{{total}}</span>
......@@ -22,7 +22,13 @@ export default {
type: Number | String,
default: 20,
}
}
},
methods: {
//返回
goBack() {
rocNative.goBack();
},
},
}
</script>
<style lang="less" scoped>
......
......@@ -135,19 +135,19 @@ export default {
// secondSubjectId: 106, // 二级学科分类ID:用于判断学科下目录免费题数
// titleNo: 0 // 起始或结束题目ID,首次进入页面时传0,系统自动定位到上次做的题
// }
this.init();
window.__getUserInfoForQD = function(param) {
_this.token = param.userToken;
_this.setUserInfo(param);
this.getPractiseTitles(true);
_this.getPractiseTitles(true);
// _this.checkToken();
};
if (__isWeb) {
this.getPractiseTitles(true);
_this.getPractiseTitles(true);
} else {
_this.getUserInfo();
_this.init();
// _this.getUserInfo();
}
window.__refresh = function() {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册