Commit 7f03ccd8 authored by zhangyanni's avatar zhangyanni

去掉打印

parent 3acbeba9
<template> <template>
<div class="overfolowWrapper" ref="overfolowWrapper" @scroll.passive="getScroll($event)" v-if="topicInfo"> <div class="overfolowWrapper" ref="overfolowWrapper" @scroll.passive="getScroll($event)" v-if="topicInfo">
<div style="width: 100%;height: 3rem;background: red;">
<p>{{navigatorVal}}</p>
<p>{{navigatorVal1}}</p>
</div>
<div class="topicTab fixedTopicTab" v-if="fixedTopicTab"> <div class="topicTab fixedTopicTab" v-if="fixedTopicTab">
<span :class="currentTabIndex==0?'activeSpan':''" @click="handleTab(0)">全部</span> <span :class="currentTabIndex==0?'activeSpan':''" @click="handleTab(0)">全部</span>
<span :class="currentTabIndex==1?'activeSpan':''" @click="handleTab(1)">精华</span> <span :class="currentTabIndex==1?'activeSpan':''" @click="handleTab(1)">精华</span>
...@@ -565,8 +561,6 @@ ...@@ -565,8 +561,6 @@
directives: {Clickoutside}, directives: {Clickoutside},
data() { data() {
return { return {
navigatorVal:this.publicFun.getCookie("language"),
navigatorVal1:this.$i18n.locale,
topicInfo: null, topicInfo: null,
isShowAllSimpleIntro: false, isShowAllSimpleIntro: false,
tableData: [], tableData: [],
...@@ -1779,9 +1773,6 @@ ...@@ -1779,9 +1773,6 @@
}) })
this.getSameTopic(); this.getSameTopic();
this.initMaiDianFunc(); this.initMaiDianFunc();
if(/miniProgram/i.test(navigator.userAgent)){
this.navigatorVal1 = "怎么回事"+navigator.language+"本地缓存language:"+this.publicFun.getCookie("language")+"国际化i18n.locale:"+this.$i18n.locale;
}
globalMsg.$on("scrollToTop", () => { globalMsg.$on("scrollToTop", () => {
this.checkWxScroll(); this.checkWxScroll();
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment