diff --git a/src/manifest.json b/src/manifest.json index 53976cf..c61e7cf 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -2,7 +2,7 @@ "name": "耕读社", "appid": "__UNI__59447F7", "description": "", - "versionName": "1.0.0", + "versionName": "1.0.1", "versionCode": "100", "transformPx": false, "app-plus": { @@ -85,4 +85,4 @@ "vueVersion": "3", "fallbackLocale": "zh-Hans", "locale": "zh-Hans" -} +} \ No newline at end of file diff --git a/src/pages/course/detail.vue b/src/pages/course/detail.vue index bc70982..8a09dd4 100644 --- a/src/pages/course/detail.vue +++ b/src/pages/course/detail.vue @@ -41,9 +41,6 @@ }, onLoad(op) { this.getInfo(op.id); - if(!this.userInfo.memberInfo && !this.showMask) { - this.showMask = true; - } }, methods: { getInfo(chapterId) { @@ -55,6 +52,9 @@ uni.setNavigationBarTitle({ title: res.data.chapterIndex }); + if(!_this.userInfo.memberInfo && !_this.showMask && !res.data.isFree) { + _this.showMask = true; + } } }); } catch (error) {