|
@@ -286,7 +286,8 @@
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
- <div style="width: 100%; height: 30px; position: fixed; color: red; top:0;">{{ state.detail.validity }}</div>
|
|
|
+ <div style="width: 100%; height: 30px; position: fixed; color: red; top:0;" v-if="state.process_mode != 'production'">
|
|
|
+ {{ state.detail.validity }}</div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
@@ -657,7 +658,9 @@ const handleStatusPage = () => {
|
|
|
// 显示任务未完成页面
|
|
|
showOpenedPage()
|
|
|
showOpenedPageReport()
|
|
|
- getValidity()
|
|
|
+ if (state.process_mode != 'production') {
|
|
|
+ getValidity()
|
|
|
+ }
|
|
|
//如果 任务完成状态 = 已经完成
|
|
|
} else if (state.detail.myReceived.taskFinishStatus == 1) {
|
|
|
// 领取到空红包
|
|
@@ -767,6 +770,8 @@ function initTaskDetail() {
|
|
|
})
|
|
|
}
|
|
|
onMounted(() => {
|
|
|
+ state.process_mode = process.env.NODE_ENV
|
|
|
+ console.log('state.process_mode',state.process_mode)
|
|
|
state.postId = getQueryString('postId')
|
|
|
state.tweetId = getQueryString('tweetId')
|
|
|
init()
|