Commit 1d3871fb by 李伟康

commit

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