Commit c699a62d by Lin

fix(HomeFrame):在 getPrelearnHome 方法中为非预学习场景类型添加提前返回

1 parent 05586a78
...@@ -774,6 +774,7 @@ export default { ...@@ -774,6 +774,7 @@ export default {
* @desc 查询预学习首页弹框信息 * @desc 查询预学习首页弹框信息
*/ */
async getPrelearnHome() { async getPrelearnHome() {
if (this.sceneType != 1) return
try { try {
const res = await uni.$api.commonApi.getPrelernHomePopupAPI() const res = await uni.$api.commonApi.getPrelernHomePopupAPI()
console.log('getPrelernHomePopupAPI res***', res); console.log('getPrelernHomePopupAPI res***', res);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!