Commit 1d3871fb by 李伟康

commit

1 parent 685160ab
...@@ -10,17 +10,10 @@ ...@@ -10,17 +10,10 @@
<transition name="fade"> <transition name="fade">
<router-view v-if="!$route.meta.keepAlive"></router-view> <router-view v-if="!$route.meta.keepAlive"></router-view>
</transition> </transition>
<template v-if="IS_PROD">
<template v-if="$route.meta.isTab && entry != 'normal'"> <template v-if="$route.meta.isTab && entry != 'normal'">
<tab-bar :data="tabList"></tab-bar> <tab-bar :data="tabList"></tab-bar>
</template> </template>
</template> </template>
<template v-else>
<template v-if="$route.meta.isTab">
<tab-bar :data="tabList"></tab-bar>
</template>
</template>
</template>
</div> </div>
</template> </template>
<script> <script>
...@@ -28,8 +21,7 @@ const IS_PROD = ['production', 'prod'].includes(process.env.NODE_ENV) ...@@ -28,8 +21,7 @@ const IS_PROD = ['production', 'prod'].includes(process.env.NODE_ENV)
export default { export default {
data() { data() {
return { return {
entry: 'normal', entry: IS_PROD ? 'normal' :'chat_attachment',
IS_PROD,
tabList: [ tabList: [
{ {
title: '卡券', title: '卡券',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!